Behat Checkbox

Posted: 2014-04-30 15:37:12

Just a reminder to check if a checkbox is checked or not.

Feature: Behat bug

  Scenario:
    Given I am on "/bug.html"
    When I check "foo"
    Then the "foo" checkbox should be checked

or

Feature: Behat bug

  Scenario:
    Given I am on "/bug.html"
    When I check "foo"
    Then the "foo" checkbox should not be checked

https://github.com/Behat/Behat/issues/298