diff --git a/src/Context/BasicContext.php b/src/Context/BasicContext.php index 49335a8..2ed1dd6 100644 --- a/src/Context/BasicContext.php +++ b/src/Context/BasicContext.php @@ -1068,7 +1068,7 @@ JS; /** * Checks the order of two texts. * Assumptions: the two texts appear in their conjunct parent element once - * @Then /^I should see the text "(?P(?:[^"]|\\")*)" (before|after) the text "(?P(?:[^"]|\\")*)" in the "(?P[^"]*)" element$/ + * @Then /^I should see the text "(?P(?:[^"]|\\")*)" (?P(before|after)) the text "(?P(?:[^"]|\\")*)" in the "(?P[^"]*)" element$/ * @param string $textBefore * @param string $order * @param string $textAfter