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
2c61e3c0
Commit
2c61e3c0
authored
Dec 09, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test for network shortcut
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
2cb542b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
features/project/shortcuts.feature
features/project/shortcuts.feature
+2
-1
features/steps/project/active_tab.rb
features/steps/project/active_tab.rb
+0
-4
features/steps/shared/project_tab.rb
features/steps/shared/project_tab.rb
+4
-0
No files found.
features/project/shortcuts.feature
View file @
2c61e3c0
...
@@ -19,7 +19,8 @@ Feature: Project Shortcuts
...
@@ -19,7 +19,8 @@ Feature: Project Shortcuts
@javascript
@javascript
Scenario
:
Navigate to network tab
Scenario
:
Navigate to network tab
Given
I press
"g"
and
"n"
Given
I press
"g"
and
"n"
Then
the active main tab should be Network
Then
the active sub tab should be Network
And
the active main tab should be Commits
@javascript
@javascript
Scenario
:
Navigate to graphs tab
Scenario
:
Navigate to graphs tab
...
...
features/steps/project/active_tab.rb
View file @
2c61e3c0
...
@@ -67,10 +67,6 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps
...
@@ -67,10 +67,6 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps
ensure_active_sub_tab
(
'Commits'
)
ensure_active_sub_tab
(
'Commits'
)
end
end
step
'the active sub tab should be Network'
do
ensure_active_sub_tab
(
'Network'
)
end
step
'the active sub tab should be Compare'
do
step
'the active sub tab should be Compare'
do
ensure_active_sub_tab
(
'Compare'
)
ensure_active_sub_tab
(
'Compare'
)
end
end
...
...
features/steps/shared/project_tab.rb
View file @
2c61e3c0
...
@@ -49,4 +49,8 @@ module SharedProjectTab
...
@@ -49,4 +49,8 @@ module SharedProjectTab
step
'the active main tab should be Activity'
do
step
'the active main tab should be Activity'
do
ensure_active_main_tab
(
'Activity'
)
ensure_active_main_tab
(
'Activity'
)
end
end
step
'the active sub tab should be Network'
do
ensure_active_sub_tab
(
'Network'
)
end
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