Renamed 'Overview' to 'Project' in the contextual navigation at a project level
This commit is contained in:
parent
da6933883f
commit
406915f4db
|
@ -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
|
||||||
|
|
|
@ -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))
|
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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue