BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
84794051
Unverified
Commit
84794051
authored
Apr 01, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some active tab tests that are broken because of 2 level sidebar
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
4a8bd9fa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+1
-1
milestones.rb
features/steps/group/milestones.rb
+3
-1
active_tab.rb
features/steps/project/active_tab.rb
+3
-1
project_tab.rb
features/steps/shared/project_tab.rb
+1
-1
No files found.
app/views/layouts/nav/_dashboard.html.haml
View file @
84794051
...
...
@@ -15,7 +15,7 @@
=
icon
(
'dashboard fw'
)
%span
Activity
=
nav_link
(
path:
[
'groups#index'
])
do
=
nav_link
(
path:
[
'
dashboard/groups#index'
,
'explore/
groups#index'
])
do
=
link_to
dashboard_groups_path
,
title:
'Groups'
do
=
icon
(
'group fw'
)
%span
...
...
features/steps/group/milestones.rb
View file @
84794051
...
...
@@ -5,7 +5,9 @@ class Spinach::Features::GroupMilestones < Spinach::FeatureSteps
include
SharedUser
step
'I click on group milestones'
do
click_link
'Milestones'
within
'.nav-secondary'
do
click_link
'Milestones'
end
end
step
'I should see group milestones index page has no milestones'
do
...
...
features/steps/project/active_tab.rb
View file @
84794051
...
...
@@ -82,7 +82,9 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps
# Sub Tabs: Issues
step
'I click the "Milestones" tab'
do
click_link
(
'Milestones'
)
within
'.nav-secondary'
do
click_link
(
'Milestones'
)
end
end
step
'I click the "Labels" tab'
do
...
...
features/steps/shared/project_tab.rb
View file @
84794051
...
...
@@ -41,7 +41,7 @@ module SharedProjectTab
end
step
'the active main tab should be Settings'
do
page
.
within
'.nav-s
idebar
'
do
page
.
within
'.nav-s
econdary
'
do
expect
(
page
).
to
have_content
(
'Go to project'
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment