Revisit the login page when attempt to retry login
When registration fails to successfully sign in, it looks like the UI has a sign-out option, but it doesn't. So instead of trying to use the UI, revisit the login page directly.
This commit is contained in:
parent
eda6b43cbe
commit
5919c8fb90
|
@ -37,7 +37,7 @@ module QA
|
|||
puts "Not signed in. Attempting to sign in again."
|
||||
Capybara::Screenshot.screenshot_and_save_page
|
||||
|
||||
Page::Menu::Main.act { sign_out }
|
||||
Runtime::Browser.visit(:gitlab, Page::Main::Login)
|
||||
|
||||
Page::Main::Login.perform do |login|
|
||||
login.sign_in_using_credentials(user)
|
||||
|
|
Loading…
Reference in New Issue