Skip to content

Commit

Permalink
MDL-45288 behat: Restricting click to .logininfo
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Apr 28, 2014
1 parent 83ddacf commit 0a0af55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/tests/behat/behat_auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 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') . '"')
Expand Down

0 comments on commit 0a0af55

Please sign in to comment.