diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-07-23 12:15:22 +0300 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-07-23 12:15:22 +0300 |
commit | 50a24da200be48940af2eeba075a69d9fd1fd35b (patch) | |
tree | 75339f0bbb2cc806e10cd40f63acf50394df8fb2 /qa | |
parent | 29d447af7b60641512e24743241d93dbd8eefd7c (diff) |
Replace homepage visit step
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb | 4 |
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| |