GitLab wurde aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Vielen Dank für Ihre Geduld.

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

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 @@ def visit_project_with_retry
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