mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Rename click-oneoof-these-buttons method
This commit is contained in:
parent
09cf3ca916
commit
a594f44188
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user