diff --git a/auth/tests/behat/behat_auth.php b/auth/tests/behat/behat_auth.php index 71671aa35ac..938532ffb43 100644 --- a/auth/tests/behat/behat_auth.php +++ b/auth/tests/behat/behat_auth.php @@ -55,7 +55,7 @@ class behat_auth extends behat_base { // Generic steps (we will prefix them later expanding the navigation dropdown if necessary). $steps = array( - new Given('I follow "' . get_string('login') . '"'), + new Given('I click on "' . get_string('login') . '" "link" in the ".logininfo" "css_element"'), new Given('I fill in "' . get_string('username') . '" with "' . $this->escape($username) . '"'), new Given('I fill in "' . get_string('password') . '" with "'. $this->escape($username) . '"'), new Given('I press "' . get_string('login') . '"')