BUG Explicitly name all parameters on theTextBeforeAfter (#242)

This commit is contained in:
Maxime Rainville 2023-06-01 13:42:47 +12:00 committed by GitHub
parent b3de55e205
commit dd2146fd65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1068,7 +1068,7 @@ JS;
/** /**
* Checks the order of two texts. * Checks the order of two texts.
* Assumptions: the two texts appear in their conjunct parent element once * Assumptions: the two texts appear in their conjunct parent element once
* @Then /^I should see the text "(?P<textBefore>(?:[^"]|\\")*)" (before|after) the text "(?P<textAfter>(?:[^"]|\\")*)" in the "(?P<element>[^"]*)" element$/ * @Then /^I should see the text "(?P<textBefore>(?:[^"]|\\")*)" (?P<order>(before|after)) the text "(?P<textAfter>(?:[^"]|\\")*)" in the "(?P<element>[^"]*)" element$/
* @param string $textBefore * @param string $textBefore
* @param string $order * @param string $order
* @param string $textAfter * @param string $textAfter