diff --git a/tests/behat/src/CmsUiContext.php b/tests/behat/src/CmsUiContext.php index 76083823c2f..6e5b3f08417 100644 --- a/tests/behat/src/CmsUiContext.php +++ b/tests/behat/src/CmsUiContext.php @@ -85,7 +85,7 @@ public function iShouldSeeANotice($notice) } /** - * @Then /^I should see a "([^"]+)" (\w+) toast$/ + * @Then /^I should see a "(.+)" (\w+) toast$/ */ public function iShouldSeeAToast($notice, $type) { @@ -93,7 +93,7 @@ public function iShouldSeeAToast($notice, $type) } /** - * @Then /^I should see a "([^"]+)" (\w+) toast with these actions: (.+)$/ + * @Then /^I should see a "(.+)" (\w+) toast with these actions: (.+)$/ */ public function iShouldSeeAToastWithAction($notice, $type, $actions) { @@ -110,7 +110,7 @@ public function iShouldSeeAToastWithAction($notice, $type, $actions) /** * @param $action - * @When /^I click the "([^"]*)" toast action$/ + * @When /^I click the "(.*)" toast action$/ */ public function stepIClickTheToastAction($action) {