From e73062c1355eeab84f1059e0e718fabc666ff0e2 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Thu, 25 Apr 2013 14:47:48 +0800 Subject: [PATCH] MDL-39348 behat: Removing redundant step This is causing some browsers to fail tests as they uses the DOM of the current page to search "You are logged in as". --- auth/tests/behat/behat_auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/tests/behat/behat_auth.php b/auth/tests/behat/behat_auth.php index eab0062760d..c6d47aa4958 100644 --- a/auth/tests/behat/behat_auth.php +++ b/auth/tests/behat/behat_auth.php @@ -52,8 +52,8 @@ class behat_auth extends behat_base { new Given('I follow "Login"'), new Given('I fill in "Username" with "'.$username.'"'), new Given('I fill in "Password" with "'.$username.'"'), - new When('I press "Login"'), - new Given('I should see "You are logged in as"')); + new Given('I press "Login"') + ); } /**