Commit ba02e3a5 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'qa/rs-remove-login-wait' into 'master'

Remove the wait time for the login form check

See merge request gitlab-org/gitlab-ce!16594
parents 8d6b029e b7846937
...@@ -19,6 +19,7 @@ module QA ...@@ -19,6 +19,7 @@ module QA
end end
def sign_in_using_credentials def sign_in_using_credentials
using_wait_time 0 do
if page.has_content?('Change your password') if page.has_content?('Change your password')
fill_in :user_password, with: Runtime::User.password fill_in :user_password, with: Runtime::User.password
fill_in :user_password_confirmation, with: Runtime::User.password fill_in :user_password_confirmation, with: Runtime::User.password
...@@ -29,6 +30,7 @@ module QA ...@@ -29,6 +30,7 @@ module QA
fill_in :user_password, with: Runtime::User.password fill_in :user_password, with: Runtime::User.password
click_button 'Sign in' click_button 'Sign in'
end end
end
def self.path def self.path
'/users/sign_in' '/users/sign_in'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment