diff --git a/src/Context/BasicContext.php b/src/Context/BasicContext.php index eaa78be..203c23d 100644 --- a/src/Context/BasicContext.php +++ b/src/Context/BasicContext.php @@ -1043,7 +1043,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