diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 10:33:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 10:33:21 +0300 |
commit | 36a59d088eca61b834191dacea009677a96c052f (patch) | |
tree | e4f33972dab5d8ef79e3944a9f403035fceea43f /spec/support/shared_contexts/navbar_structure_context.rb | |
parent | a1761f15ec2cae7c7f7bbda39a75494add0dfd6f (diff) |
Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42
Diffstat (limited to 'spec/support/shared_contexts/navbar_structure_context.rb')
-rw-r--r-- | spec/support/shared_contexts/navbar_structure_context.rb | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/spec/support/shared_contexts/navbar_structure_context.rb b/spec/support/shared_contexts/navbar_structure_context.rb index 65c7f63cf6e..ef6ff7be840 100644 --- a/spec/support/shared_contexts/navbar_structure_context.rb +++ b/spec/support/shared_contexts/navbar_structure_context.rb @@ -46,8 +46,7 @@ RSpec.shared_context 'project navbar structure' do _('List'), _('Boards'), _('Service Desk'), - _('Milestones'), - (_('Iterations') if Gitlab.ee?) + _('Milestones') ] }, { @@ -74,6 +73,13 @@ RSpec.shared_context 'project navbar structure' do ] }, { + nav_item: _('Infrastructure'), + nav_sub_items: [ + _('Kubernetes clusters'), + _('Terraform') + ] + }, + { nav_item: _('Monitor'), nav_sub_items: [ _('Metrics'), @@ -86,16 +92,8 @@ RSpec.shared_context 'project navbar structure' do ] }, { - nav_item: _('Infrastructure'), - nav_sub_items: [ - _('Kubernetes clusters'), - _('Serverless platform'), - _('Terraform') - ] - }, - { nav_item: _('Analytics'), - nav_sub_items: analytics_sub_nav_item + nav_sub_items: project_analytics_sub_nav_item }, { nav_item: _('Wiki'), @@ -126,9 +124,7 @@ RSpec.shared_context 'group navbar structure' do let(:analytics_nav_item) do { nav_item: _('Analytics'), - nav_sub_items: [ - _('Contribution') - ] + nav_sub_items: group_analytics_sub_nav_item } end |