summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-07-23 11:17:35 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-07-23 11:17:35 +0500
commit3b9b74072f8dad089558d64f1e96937b99ee34a9 (patch)
tree1a67d5b3e085f256a5b7741a899187b542ecacdf /qa
parent17fe03078d003dc61a456da8d3e41e3e52ba4f54 (diff)
downloadgitlab-ce-3b9b74072f8dad089558d64f1e96937b99ee34a9.tar.gz
Ensure test is on login page
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb b/qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
index 425fb861456..d3bb3659e8e 100644
--- a/qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
+++ b/qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb
@@ -18,6 +18,8 @@ module QA
QA::Runtime::Env.personal_access_token = nil
+ Runtime::Browser.visit(:gitlab, Page::Main::Login)
+
Page::Main::Menu.perform(&:sign_out) if Page::Main::Menu.perform { |p| p.has_personal_area?(wait: 0) }
Page::Main::Login.perform(&:sign_in_using_credentials)