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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
5d1ab47b
Commit
5d1ab47b
authored
9 years ago
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
Hide 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
Given
I visit dashboard merge requests page
Then
the active main tab should be Merge Requests
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
This diff is collapsed.
Click to expand it.
features/steps/dashboard/active_tab.rb
View file @
5d1ab47b
...
...
@@ -3,4 +3,7 @@ class Spinach::Features::DashboardActiveTab < Spinach::FeatureSteps
include
SharedPaths
include
SharedActiveTab
step
'the active main tab should be Help'
do
ensure_active_main_tab
(
'Help'
)
end
end
This diff is collapsed.
Click to expand it.
features/steps/shared/paths.rb
View file @
5d1ab47b
...
...
@@ -83,6 +83,10 @@ module SharedPaths
visit
search_path
end
step
'I visit dashboard help page'
do
visit
help_path
end
step
'I visit dashboard groups page'
do
visit
dashboard_groups_path
end
...
...
This diff is collapsed.
Click to expand it.
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