Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
5d1ab47b
Commit
5d1ab47b
authored
Apr 15, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert help link tests removal
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
400c9c5a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
features/dashboard/active_tab.feature
features/dashboard/active_tab.feature
+5
-0
features/steps/dashboard/active_tab.rb
features/steps/dashboard/active_tab.rb
+3
-0
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+4
-0
No files found.
features/dashboard/active_tab.feature
View file @
5d1ab47b
...
@@ -17,3 +17,8 @@ Feature: Dashboard Active Tab
...
@@ -17,3 +17,8 @@ Feature: Dashboard Active Tab
Given
I visit dashboard merge requests page
Given
I visit dashboard merge requests page
Then
the active main tab should be Merge Requests
Then
the active main tab should be Merge Requests
And
no other main tabs should be active
And
no other main tabs should be active
Scenario
:
On Dashboard Help
Given
I visit dashboard help page
Then
the active main tab should be Help
And
no other main tabs should be active
features/steps/dashboard/active_tab.rb
View file @
5d1ab47b
...
@@ -3,4 +3,7 @@ class Spinach::Features::DashboardActiveTab < Spinach::FeatureSteps
...
@@ -3,4 +3,7 @@ class Spinach::Features::DashboardActiveTab < Spinach::FeatureSteps
include
SharedPaths
include
SharedPaths
include
SharedActiveTab
include
SharedActiveTab
step
'the active main tab should be Help'
do
ensure_active_main_tab
(
'Help'
)
end
end
end
features/steps/shared/paths.rb
View file @
5d1ab47b
...
@@ -83,6 +83,10 @@ module SharedPaths
...
@@ -83,6 +83,10 @@ module SharedPaths
visit
search_path
visit
search_path
end
end
step
'I visit dashboard help page'
do
visit
help_path
end
step
'I visit dashboard groups page'
do
step
'I visit dashboard groups page'
do
visit
dashboard_groups_path
visit
dashboard_groups_path
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