by kssundar: Updated regular expression to remove 2 verbs and updated trait to be in sync with minkcontext.
This commit is contained in:
@@ -371,7 +371,6 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface
|
|||||||
* Checks, that checkbox with specified in|name|label|value is checked.
|
* Checks, that checkbox with specified in|name|label|value is checked.
|
||||||
*
|
*
|
||||||
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should be checked$/
|
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should be checked$/
|
||||||
* @Then /^I (?:|should )see the checkbox "(?P<checkbox>(?:[^"]|\\")*)" 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)
|
||||||
@@ -383,7 +382,6 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface
|
|||||||
* Checks, that checkbox with specified in|name|label|value is unchecked.
|
* Checks, that checkbox with specified in|name|label|value is unchecked.
|
||||||
*
|
*
|
||||||
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should not be checked$/
|
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should not be checked$/
|
||||||
* @Then /^I (?:|should )see the checkbox "(?P<checkbox>(?:[^"]|\\")*)" (?:is not checked|is unchecked)$/
|
|
||||||
* @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)$/
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -437,6 +437,7 @@ trait MinkDictionary
|
|||||||
* Checks, that checkbox with specified in|name|label|value is checked.
|
* Checks, that checkbox with specified in|name|label|value is checked.
|
||||||
*
|
*
|
||||||
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should be checked$/
|
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should be checked$/
|
||||||
|
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" (?:is|should be) checked$/
|
||||||
*/
|
*/
|
||||||
public function assertCheckboxChecked($checkbox)
|
public function assertCheckboxChecked($checkbox)
|
||||||
{
|
{
|
||||||
@@ -447,6 +448,8 @@ trait MinkDictionary
|
|||||||
* Checks, that checkbox with specified in|name|label|value is unchecked.
|
* Checks, that checkbox with specified in|name|label|value is unchecked.
|
||||||
*
|
*
|
||||||
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should not be checked$/
|
* @Then /^the "(?P<checkbox>(?:[^"]|\\")*)" checkbox should not be checked$/
|
||||||
|
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" should (?:be unchecked|not be checked)$/
|
||||||
|
* @Then /^the checkbox "(?P<checkbox>(?:[^"]|\\")*)" is (?:unchecked|not checked)$/
|
||||||
*/
|
*/
|
||||||
public function assertCheckboxNotChecked($checkbox)
|
public function assertCheckboxNotChecked($checkbox)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user