From 70cbedd4cf6d4385644b6e421ca6fc488df21ede Mon Sep 17 00:00:00 2001 From: David Monllao Date: Mon, 28 Apr 2014 10:20:34 +0700 Subject: [PATCH] MDL-45288 behat: Restricting click to .logininfo --- auth/tests/behat/behat_auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') . '"')