Commit 386449a32fcfcceb519b1041d28b2cc4e96083e9

Authored by Braulio Bhavamitra
2 parents dc74d781 bd6da443

Merge branch 'fix_random_selenium_fails' into 'master'

Fix random selenium fails when trying to log in

The cause of this issue is still undefined as both steps were leading to
the same page, but with different behaviours.

One possible cause is that clicking the "Login" link should be opening
the log in modal which is not happening. All the taken screenshots are
with the "Login" page displaying. Maybe this is still related to the
previous issues with the selenium click steps addressed by the MRs #780
and #785.

See merge request !794
features/login.feature
@@ -109,7 +109,7 @@ Feature: login @@ -109,7 +109,7 @@ Feature: login
109 And I am not logged in 109 And I am not logged in
110 And the environment is configured to redirect to profile homepage after login 110 And the environment is configured to redirect to profile homepage after login
111 And I go to the homepage 111 And I go to the homepage
112 - And I follow "Login" 112 + When I go to login page
113 And I fill in the following: 113 And I fill in the following:
114 | Username / Email | joaosilva | 114 | Username / Email | joaosilva |
115 | Password | 123456 | 115 | Password | 123456 |
features/signup.feature
@@ -252,7 +252,7 @@ Feature: signup @@ -252,7 +252,7 @@ Feature: signup
252 And I press "Apply!" 252 And I press "Apply!"
253 And I follow "Logout" 253 And I follow "Logout"
254 And Teste da Silva's account is activated 254 And Teste da Silva's account is activated
255 - And I follow "Login" 255 + When I go to login page
256 And I fill in "Username / Email" with "teste" 256 And I fill in "Username / Email" with "teste"
257 And I fill in "Password" with "123456" 257 And I fill in "Password" with "123456"
258 And I press "Log in" 258 And I press "Log in"