Commit bd6da4434e70c3731663840328dac69d7dc467c2

Authored by Rafael Reggiani Manzo
1 parent c7574edc

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