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/support/shared_contexts/navbar_structure_context.rb')
-rw-r--r--spec/support/shared_contexts/navbar_structure_context.rb23
1 files changed, 13 insertions, 10 deletions
diff --git a/spec/support/shared_contexts/navbar_structure_context.rb b/spec/support/shared_contexts/navbar_structure_context.rb
index 6c2ed79b343..064e40287be 100644
--- a/spec/support/shared_contexts/navbar_structure_context.rb
+++ b/spec/support/shared_contexts/navbar_structure_context.rb
@@ -109,8 +109,9 @@ RSpec.shared_context 'project navbar structure' do
_('Webhooks'),
_('Access Tokens'),
_('Repository'),
+ _('Merge requests'),
_('CI/CD'),
- _('Packages & Registries'),
+ _('Packages and registries'),
_('Monitor'),
s_('UsageQuota|Usage Quotas')
]
@@ -139,7 +140,17 @@ RSpec.shared_context 'group navbar structure' do
_('Repository'),
_('CI/CD'),
_('Applications'),
- _('Packages & Registries')
+ _('Packages and registries'),
+ _('Domain Verification')
+ ]
+ }
+ end
+
+ let(:settings_for_maintainer_nav_item) do
+ {
+ nav_item: _('Settings'),
+ nav_sub_items: [
+ _('Repository')
]
}
end
@@ -162,13 +173,6 @@ RSpec.shared_context 'group navbar structure' do
}
end
- let(:push_rules_nav_item) do
- {
- nav_item: _('Push Rules'),
- nav_sub_items: []
- }
- end
-
let(:ci_cd_nav_item) do
{
nav_item: _('CI/CD'),
@@ -210,7 +214,6 @@ RSpec.shared_context 'group navbar structure' do
nav_sub_items: []
},
(security_and_compliance_nav_item if Gitlab.ee?),
- (push_rules_nav_item if Gitlab.ee?),
{
nav_item: _('Kubernetes'),
nav_sub_items: []