Rename click-oneoof-these-buttons method

This commit is contained in:
Maxime Rainville 2019-09-24 15:29:11 +12:00
parent 09cf3ca916
commit a594f44188
1 changed files with 2 additions and 2 deletions

View File

@ -443,10 +443,10 @@ JS;
} }
/** /**
* @Given /^I press one of these buttons "([^"]*)"$/ * @Given /^I press the "([^"]*)" buttons$/
* @param string $text A list of button names can be provided by seperating the entries with the | character. * @param string $text A list of button names can be provided by seperating the entries with the | character.
*/ */
public function stepIPressOneOfTheseButtons($text) public function stepIPressTheButtons($text)
{ {
$buttonNames = explode('|', $text); $buttonNames = explode('|', $text);
foreach ($buttonNames as $name) { foreach ($buttonNames as $name) {