diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-11 15:13:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-11 15:13:09 +0300 |
commit | ee2024d964d1742a8ec01da89e0b34351c9303ab (patch) | |
tree | 7c8108788f3db88c579974951bb2cb1b792e871e /spec/features | |
parent | 5f6fe673fa797f46ee747df4553a9c216224bb85 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/users/show_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/users/show_spec.rb b/spec/features/users/show_spec.rb index 2821e8286a4..c56b261fe28 100644 --- a/spec/features/users/show_spec.rb +++ b/spec/features/users/show_spec.rb @@ -410,7 +410,7 @@ RSpec.describe 'User page', feature_category: :user_profile do subject - page.within '.navbar-gitlab' do + within_testid('navbar') do expect(page).to have_link('Sign in') expect(page).not_to have_link('Register') end @@ -423,7 +423,7 @@ RSpec.describe 'User page', feature_category: :user_profile do subject - page.within '.navbar-gitlab' do + within_testid('navbar') do expect(page).to have_link(_('Sign in'), exact: true) expect(page).to have_link(_('Register'), exact: true) end |