Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Merge 7c3f289 into 08f48c2
Browse files Browse the repository at this point in the history
  • Loading branch information
roukmoute committed May 13, 2016
2 parents 08f48c2 + 7c3f289 commit 901bd6c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Behat/MinkExtension/Context/MinkContext.php
Expand Up @@ -465,11 +465,12 @@ public function assertNumElements($num, $element)
}

/**
* Checks, that checkbox with specified in|name|label|value is checked
* Checks, that checkbox with specified id|name|label|value is checked
* Example: Then the "remember_me" checkbox should be checked
* Example: And the "remember_me" checkbox is checked
*
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should be checked$/
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox is checked$/
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" (?:is|should be) checked$/
*/
public function assertCheckboxChecked($checkbox)
Expand All @@ -478,12 +479,13 @@ public function assertCheckboxChecked($checkbox)
}

/**
* Checks, that checkbox with specified in|name|label|value is unchecked
* Checks, that checkbox with specified id|name|label|value is unchecked
* Example: Then the "newsletter" checkbox should be unchecked
* Example: Then the "newsletter" checkbox should not be checked
* Example: And the "newsletter" checkbox is unchecked
*
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should not be checked$/
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should (?:be unchecked|not be checked)$/
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox is (?:unchecked|not checked)$/
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" should (?:be unchecked|not be checked)$/
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" is (?:unchecked|not checked)$/
*/
Expand Down

0 comments on commit 901bd6c

Please sign in to comment.