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
This commit is contained in:
		
						commit
						ba02e3a5df
					
				| 
						 | 
				
			
			@ -19,15 +19,17 @@ module QA
 | 
			
		|||
        end
 | 
			
		||||
 | 
			
		||||
        def sign_in_using_credentials
 | 
			
		||||
          if page.has_content?('Change your password')
 | 
			
		||||
            fill_in :user_password, with: Runtime::User.password
 | 
			
		||||
            fill_in :user_password_confirmation, with: Runtime::User.password
 | 
			
		||||
            click_button 'Change your password'
 | 
			
		||||
          end
 | 
			
		||||
          using_wait_time 0 do
 | 
			
		||||
            if page.has_content?('Change your password')
 | 
			
		||||
              fill_in :user_password, with: Runtime::User.password
 | 
			
		||||
              fill_in :user_password_confirmation, with: Runtime::User.password
 | 
			
		||||
              click_button 'Change your password'
 | 
			
		||||
            end
 | 
			
		||||
 | 
			
		||||
          fill_in :user_login, with: Runtime::User.name
 | 
			
		||||
          fill_in :user_password, with: Runtime::User.password
 | 
			
		||||
          click_button 'Sign in'
 | 
			
		||||
            fill_in :user_login, with: Runtime::User.name
 | 
			
		||||
            fill_in :user_password, with: Runtime::User.password
 | 
			
		||||
            click_button 'Sign in'
 | 
			
		||||
          end
 | 
			
		||||
        end
 | 
			
		||||
 | 
			
		||||
        def self.path
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue