MDL-45288 behat: Restricting click to .logininfo

This commit is contained in:
David Monllao
2014-04-28 10:27:45 +07:00
parent eabcd76d4d
commit 70cbedd4cf
+1 -1
View File
@@ -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') . '"')