Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/users/show_spec.rb')
-rw-r--r--spec/features/users/show_spec.rb4
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