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
Boxiang Sun
gitlab-ce
Commits
5c9f0896
Commit
5c9f0896
authored
Jun 20, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Code -> Repo in feature specs
parent
26d2fa0a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
features/project/active_tab.feature
features/project/active_tab.feature
+15
-15
features/project/shortcuts.feature
features/project/shortcuts.feature
+3
-3
No files found.
features/project/active_tab.feature
View file @
5c9f0896
...
...
@@ -10,9 +10,9 @@ Feature: Project Active Tab
Then
the active main tab should be Home
And
no other main tabs should be active
Scenario
:
On Project
Code
Scenario
:
On Project
Repo
Given
I visit my project's files page
Then
the active main tab should be
Code
Then
the active main tab should be
Repo
And
no other main tabs should be active
Scenario
:
On Project Issues
...
...
@@ -59,46 +59,46 @@ Feature: Project Active Tab
And
no other sub navs should be active
And
the active main tab should be Settings
# Sub Tabs:
Code
# Sub Tabs:
Repo
Scenario
:
On Project
Code
/Files
Scenario
:
On Project
Repo
/Files
Given
I visit my project's files page
Then
the active sub tab should be Files
And
no other sub tabs should be active
And
the active main tab should be
Code
And
the active main tab should be
Repo
Scenario
:
On Project
Code
/Commits
Scenario
:
On Project
Repo
/Commits
Given
I visit my project's commits page
Then
the active sub tab should be Commits
And
no other sub tabs should be active
And
the active main tab should be
Code
And
the active main tab should be
Repo
Scenario
:
On Project
Code
/Network
Scenario
:
On Project
Repo
/Network
Given
I visit my project's network page
Then
the active sub tab should be Network
And
no other sub tabs should be active
And
the active main tab should be
Code
And
the active main tab should be
Repo
Scenario
:
On Project
Code
/Compare
Scenario
:
On Project
Repo
/Compare
Given
I visit my project's commits page
And
I click the
"Compare"
tab
Then
the active sub tab should be Compare
And
no other sub tabs should be active
And
the active main tab should be
Code
And
the active main tab should be
Repo
Scenario
:
On Project
Code
/Branches
Scenario
:
On Project
Repo
/Branches
Given
I visit my project's commits page
And
I click the
"Branches"
tab
Then
the active sub tab should be Branches
And
no other sub tabs should be active
And
the active main tab should be
Code
And
the active main tab should be
Repo
Scenario
:
On Project
Code
/Tags
Scenario
:
On Project
Repo
/Tags
Given
I visit my project's commits page
And
I click the
"Tags"
tab
Then
the active sub tab should be Tags
And
no other sub tabs should be active
And
the active main tab should be
Code
And
the active main tab should be
Repo
Scenario
:
On Project Issues/Browse
Given
I visit my project's issues page
...
...
features/project/shortcuts.feature
View file @
5c9f0896
...
...
@@ -8,21 +8,21 @@ Feature: Project Shortcuts
@javascript
Scenario
:
Navigate to files tab
Given
I press
"g"
and
"f"
Then
the active main tab should be
Code
Then
the active main tab should be
Repo
Then
the active sub tab should be Files
@javascript
Scenario
:
Navigate to commits tab
Given
I visit my project's files page
Given
I press
"g"
and
"c"
Then
the active main tab should be
Code
Then
the active main tab should be
Repo
Then
the active sub tab should be Commits
@javascript
Scenario
:
Navigate to network tab
Given
I press
"g"
and
"n"
Then
the active sub tab should be Network
And
the active main tab should be
Code
And
the active main tab should be
Repo
@javascript
Scenario
:
Navigate to graphs tab
...
...
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