0

チェックされていないチェックボックスのアサーションを設定しようとしています。チェック済みアサーションは、次を使用すると正常に機能します。

$this->assertChecked('css=#element', true);

チェックされていないチェックボックスをテストしたいとき

$this->assertChecked('css=#element', false);

次のエラーが表示されます。

Failed command: assertChecked('css=#element', '')
Failed asserting that false is true.
4

1 に答える 1