Commit 7f01d49b authored by Tim Zallmann's avatar Tim Zallmann

Merge branch 'rename-overview-project-sidenav' into 'master'

Renamed 'Overview' to 'Project' in the contextual navigation at a project level

Closes #43430

See merge request gitlab-org/gitlab-ce!18295
parents da693388 406915f4
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
.nav-icon-container .nav-icon-container
= sprite_icon('project') = sprite_icon('project')
%span.nav-item-name %span.nav-item-name
Overview Project
%ul.sidebar-sub-level-items %ul.sidebar-sub-level-items
= nav_link(path: 'projects#show', html_options: { class: "fly-out-top-item" } ) do = nav_link(path: 'projects#show', html_options: { class: "fly-out-top-item" } ) do
......
---
title: Renamed Overview to Project in the contextual navigation at a project level
merge_request: 18295
author: Constance Okoghenun
type: changed
...@@ -11,12 +11,12 @@ describe 'User uses shortcuts', :js do ...@@ -11,12 +11,12 @@ describe 'User uses shortcuts', :js do
visit(project_path(project)) visit(project_path(project))
end end
context 'when navigating to the Overview pages' do context 'when navigating to the Project pages' do
it 'redirects to the details page' do it 'redirects to the details page' do
find('body').native.send_key('g') find('body').native.send_key('g')
find('body').native.send_key('p') find('body').native.send_key('p')
expect(page).to have_active_navigation('Overview') expect(page).to have_active_navigation('Project')
expect(page).to have_active_sub_navigation('Details') expect(page).to have_active_sub_navigation('Details')
end end
...@@ -24,7 +24,7 @@ describe 'User uses shortcuts', :js do ...@@ -24,7 +24,7 @@ describe 'User uses shortcuts', :js do
find('body').native.send_key('g') find('body').native.send_key('g')
find('body').native.send_key('e') find('body').native.send_key('e')
expect(page).to have_active_navigation('Overview') expect(page).to have_active_navigation('Project')
expect(page).to have_active_sub_navigation('Activity') expect(page).to have_active_sub_navigation('Activity')
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment