【发布时间】:2013-10-29 03:39:52
【问题描述】:
我正在尝试为未选中的复选框设置断言。当我使用时,检查断言工作正常:
$this->assertChecked('css=#element', true);
当我想测试未选中的复选框时
$this->assertChecked('css=#element', false);
我收到此错误:
Failed command: assertChecked('css=#element', '')
Failed asserting that false is true.
【问题讨论】: