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
This commit is contained in:
commit
7f01d49b69
3 changed files with 9 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
|||
.nav-icon-container
|
||||
= sprite_icon('project')
|
||||
%span.nav-item-name
|
||||
Overview
|
||||
Project
|
||||
|
||||
%ul.sidebar-sub-level-items
|
||||
= nav_link(path: 'projects#show', html_options: { class: "fly-out-top-item" } ) do
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
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
|
|||
visit(project_path(project))
|
||||
end
|
||||
|
||||
context 'when navigating to the Overview pages' do
|
||||
context 'when navigating to the Project pages' do
|
||||
it 'redirects to the details page' do
|
||||
find('body').native.send_key('g')
|
||||
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')
|
||||
end
|
||||
|
||||
|
@ -24,7 +24,7 @@ describe 'User uses shortcuts', :js do
|
|||
find('body').native.send_key('g')
|
||||
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')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue