Commit 5919c8fb authored by Mark Lapierre's avatar Mark Lapierre

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.
parent eda6b43c
......@@ -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)
......
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