Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2018-10-02 22:26:22 +0300
committerMark Lapierre <mlapierre@gitlab.com>2018-10-02 22:27:04 +0300
commit5919c8fb90dd3cd17ef2b62e881718e1ce517ac9 (patch)
tree27ffdd9fdb7b2612f492dd6cd0bf7b77dbb307d4 /qa
parenteda6b43cbe50a1217a35d9d173379fd41a36534f (diff)
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.
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/factory/resource/fork.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/factory/resource/fork.rb b/qa/qa/factory/resource/fork.rb
index 92050eaba2a..1fa47e92983 100644
--- a/qa/qa/factory/resource/fork.rb
+++ b/qa/qa/factory/resource/fork.rb
@@ -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)