Commit 0132fc6b authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch 'add-invalid-login-check-for-debug' into 'master'

Add Check for Invalid Login or Password Banner for Debugging E2E 403 Account Blocked Errors

See merge request gitlab-org/gitlab!82242
parents f0c544d1 78205338
...@@ -4,6 +4,8 @@ module QA ...@@ -4,6 +4,8 @@ module QA
module Page module Page
module Main module Main
class Login < Page::Base class Login < Page::Base
include Layout::Flash
view 'app/views/devise/passwords/edit.html.haml' do view 'app/views/devise/passwords/edit.html.haml' do
element :password_field element :password_field
element :password_confirmation_field element :password_confirmation_field
...@@ -176,6 +178,9 @@ module QA ...@@ -176,6 +178,9 @@ module QA
Support::WaitForRequests.wait_for_requests Support::WaitForRequests.wait_for_requests
# For debugging invalid login attempts
has_notice?('Invalid login or password')
Page::Main::Terms.perform do |terms| Page::Main::Terms.perform do |terms|
terms.accept_terms if terms.visible? terms.accept_terms if terms.visible?
end end
......
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