diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-22 21:10:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-22 21:10:41 +0300 |
commit | e5f8220301d524167441f8fac5fd5fcf5fc31e1f (patch) | |
tree | 1b73a8c16126db5386b5bae59f61e990a457acc5 /spec/support | |
parent | c60010859638f577dab891358e83945561b35ad2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/helpers/login_helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/helpers/login_helpers.rb b/spec/support/helpers/login_helpers.rb index ff1c528d94a..91f0218732e 100644 --- a/spec/support/helpers/login_helpers.rb +++ b/spec/support/helpers/login_helpers.rb @@ -78,8 +78,8 @@ module LoginHelpers # Requires Javascript driver. def gitlab_disable_admin_mode - click_on 'Search or go to…' - click_on 'Leave admin mode' + find_by_testid('user-menu-toggle').click + click_on 'Leave Admin Mode' end private |