@@ -465,11 +465,12 @@ class MinkContext extends RawMinkContext implements TranslatableContext
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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: Then the "remember_me" checkbox should be checked
|
||||||
* Example: And the "remember_me" checkbox is checked
|
* Example: And the "remember_me" checkbox is checked
|
||||||
*
|
*
|
||||||
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should be 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$/
|
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" (?:is|should be) checked$/
|
||||||
*/
|
*/
|
||||||
public function assertCheckboxChecked($checkbox)
|
public function assertCheckboxChecked($checkbox)
|
||||||
@@ -478,12 +479,13 @@ class MinkContext extends RawMinkContext implements TranslatableContext
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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 be unchecked
|
||||||
* Example: Then the "newsletter" checkbox should not be checked
|
* Example: Then the "newsletter" checkbox should not be checked
|
||||||
* Example: And the "newsletter" checkbox is unchecked
|
* 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>(?:[^"]|\\")*)" should (?:be unchecked|not be checked)$/
|
||||||
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" is (?:unchecked|not checked)$/
|
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" is (?:unchecked|not checked)$/
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user