From 0a0af550214f8fc62c58420657c104de33f629c6 Mon Sep 17 00:00:00 2001 From: David Monllao <davidm@moodle.com> 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 9ac8d1571dd..e5a21ecbb6e 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 set the field "' . get_string('username') . '" to "' . $this->escape($username) . '"'), new Given('I set the field "' . get_string('password') . '" to "'. $this->escape($username) . '"'), new Given('I press "' . get_string('login') . '"')