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 0154a32 commit 429fc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/tests/behat/behat_auth.php
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 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') . '"')
Expand Down

0 comments on commit 429fc19

Please sign in to comment.