From 429fc19d264e96f0921da5d7b26903d11a68f28e 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 ecdb90aa6e5f7..c98146f062b5a 100644 --- a/auth/tests/behat/behat_auth.php +++ b/auth/tests/behat/behat_auth.php @@ -55,7 +55,7 @@ public function i_log_in_as($username) { // 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') . '"')