summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-07-23 14:15:22 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-07-23 14:15:22 +0500
commit50a24da200be48940af2eeba075a69d9fd1fd35b (patch)
tree75339f0bbb2cc806e10cd40f63acf50394df8fb2 /qa
parent29d447af7b60641512e24743241d93dbd8eefd7c (diff)
downloadgitlab-ce-50a24da200be48940af2eeba075a69d9fd1fd35b.tar.gz
Replace homepage visit stepsl-qa-staging-65-fix-correct-page-issue
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb4
1 files changed, 2 insertions, 2 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 1519bbf9e31..70c03e10449 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,10 +18,10 @@ 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) }
+ Runtime::Browser.visit(:gitlab, Page::Main::Login)
+
Page::Main::Login.perform(&:sign_in_using_credentials)
project = Resource::Project.fabricate_via_api! do |resource|