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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-06 21:09:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-06 21:09:43 +0300
commit33998a0e768263828f497685ae030f585193317f (patch)
tree791e2c3322a17f668a2a4abdd251a8362885f381 /spec/features/users
parent7b69a22d499787378aa30561822ef797a99c22e5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/users')
-rw-r--r--spec/features/users/show_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/users/show_spec.rb b/spec/features/users/show_spec.rb
index 4b2e7c432b7..88b2d918976 100644
--- a/spec/features/users/show_spec.rb
+++ b/spec/features/users/show_spec.rb
@@ -384,6 +384,7 @@ RSpec.describe 'User page', feature_category: :user_profile do
page.within '.navbar-gitlab' do
expect(page).to have_link('Sign in')
+ expect(page).not_to have_link('Register')
end
end
end
@@ -395,7 +396,8 @@ RSpec.describe 'User page', feature_category: :user_profile do
subject
page.within '.navbar-gitlab' do
- expect(page).to have_link('Sign in / Register')
+ expect(page).to have_link(_('Sign in'), exact: true)
+ expect(page).to have_link(_('Register'), exact: true)
end
end
end