diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-11 21:09:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-11 21:09:22 +0300 |
commit | 1bd9d2d9499d0d28e62254a28fcd3d913a8704af (patch) | |
tree | ea9969a5a4c3ac77858be20d69869674bed5ca43 /qa | |
parent | d8877c12347443fa02e0ba53ad8d5cd318f6fa28 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/main/login.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qa/qa/page/main/login.rb b/qa/qa/page/main/login.rb index 028a6d37af4..c7ad909e6de 100644 --- a/qa/qa/page/main/login.rb +++ b/qa/qa/page/main/login.rb @@ -211,8 +211,7 @@ module QA def redirect_to_login_page(address) Menu.perform(&:sign_out_if_signed_in) - desired_host = URI(Runtime::Scenario.send("#{address}_address")).host - Runtime::Browser.visit(address, Page::Main::Login) if desired_host != current_host + Runtime::Browser.visit(address, Page::Main::Login) end private |