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
963a3114
Unverified
Commit
963a3114
authored
Nov 12, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Active tab tests for admin broadcast messages
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
90d59939
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
active_tab.feature
features/admin/active_tab.feature
+5
-0
admin_active_tab.rb
features/steps/admin/admin_active_tab.rb
+4
-0
paths.rb
features/steps/shared/paths.rb
+4
-0
No files found.
features/admin/active_tab.feature
View file @
963a3114
...
...
@@ -27,6 +27,11 @@ Feature: Admin active tab
Then
the active main tab should be Logs
And
no other main tabs should be active
Scenario
:
On Admin Messages
Given
I visit admin messages page
Then
the active main tab should be Messages
And
no other main tabs should be active
Scenario
:
On Admin Hooks
Given
I visit admin hooks page
Then
the active main tab should be Hooks
...
...
features/steps/admin/admin_active_tab.rb
View file @
963a3114
...
...
@@ -30,4 +30,8 @@ class AdminActiveTab < Spinach::FeatureSteps
Then
'the active main tab should be Resque'
do
ensure_active_main_tab
(
'Background Jobs'
)
end
Then
'the active main tab should be Messages'
do
ensure_active_main_tab
(
'Messages'
)
end
end
features/steps/shared/paths.rb
View file @
963a3114
...
...
@@ -105,6 +105,10 @@ module SharedPaths
visit
admin_logs_path
end
step
'I visit admin messages page'
do
visit
admin_broadcast_messages_path
end
step
'I visit admin hooks page'
do
visit
admin_hooks_path
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