diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php index f8c5f43..2a84aca 100644 --- a/src/Behat/MinkExtension/Context/MinkContext.php +++ b/src/Behat/MinkExtension/Context/MinkContext.php @@ -371,7 +371,6 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface * Checks, that checkbox with specified in|name|label|value is checked. * * @Then /^the "(?P(?:[^"]|\\")*)" checkbox should be checked$/ - * @Then /^I (?:|should )see the checkbox "(?P(?:[^"]|\\")*)" checked$/ * @Then /^the checkbox "(?P(?:[^"]|\\")*)" (?:is|should be) checked$/ */ public function assertCheckboxChecked($checkbox) @@ -383,7 +382,6 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface * Checks, that checkbox with specified in|name|label|value is unchecked. * * @Then /^the "(?P(?:[^"]|\\")*)" checkbox should not be checked$/ - * @Then /^I (?:|should )see the checkbox "(?P(?:[^"]|\\")*)" (?:is not checked|is unchecked)$/ * @Then /^the checkbox "(?P(?:[^"]|\\")*)" should (?:be unchecked|not be checked)$/ * @Then /^the checkbox "(?P(?:[^"]|\\")*)" is (?:unchecked|not checked)$/ */ diff --git a/src/Behat/MinkExtension/Context/MinkDictionary.php b/src/Behat/MinkExtension/Context/MinkDictionary.php index a36aef3..77804f5 100644 --- a/src/Behat/MinkExtension/Context/MinkDictionary.php +++ b/src/Behat/MinkExtension/Context/MinkDictionary.php @@ -437,6 +437,7 @@ trait MinkDictionary * Checks, that checkbox with specified in|name|label|value is checked. * * @Then /^the "(?P(?:[^"]|\\")*)" checkbox should be checked$/ + * @Then /^the checkbox "(?P(?:[^"]|\\")*)" (?:is|should be) checked$/ */ public function assertCheckboxChecked($checkbox) { @@ -447,6 +448,8 @@ trait MinkDictionary * Checks, that checkbox with specified in|name|label|value is unchecked. * * @Then /^the "(?P(?:[^"]|\\")*)" checkbox should not be checked$/ + * @Then /^the checkbox "(?P(?:[^"]|\\")*)" should (?:be unchecked|not be checked)$/ + * @Then /^the checkbox "(?P(?:[^"]|\\")*)" is (?:unchecked|not checked)$/ */ public function assertCheckboxNotChecked($checkbox) {