2015-04-26 12:48:37 +05:30
|
|
|
@dashboard
|
|
|
|
Feature: Project Shortcuts
|
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And I own a project
|
2015-09-11 14:41:01 +05:30
|
|
|
And I visit my project's commits page
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to files tab
|
|
|
|
Given I press "g" and "f"
|
2016-06-22 15:30:34 +05:30
|
|
|
Then the active main tab should be Repository
|
2016-06-16 23:09:34 +05:30
|
|
|
Then the active sub tab should be Files
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to commits tab
|
2015-09-11 14:41:01 +05:30
|
|
|
Given I visit my project's files page
|
2015-04-26 12:48:37 +05:30
|
|
|
Given I press "g" and "c"
|
2016-06-22 15:30:34 +05:30
|
|
|
Then the active main tab should be Repository
|
2016-06-16 23:09:34 +05:30
|
|
|
Then the active sub tab should be Commits
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
@javascript
|
2017-08-17 22:00:37 +05:30
|
|
|
Scenario: Navigate to graph tab
|
2015-04-26 12:48:37 +05:30
|
|
|
Given I press "g" and "n"
|
2017-08-17 22:00:37 +05:30
|
|
|
Then the active sub tab should be Graph
|
2016-06-22 15:30:34 +05:30
|
|
|
And the active main tab should be Repository
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
@javascript
|
2017-08-17 22:00:37 +05:30
|
|
|
Scenario: Navigate to repository charts tab
|
|
|
|
Given I press "g" and "d"
|
|
|
|
Then the active sub tab should be Charts
|
|
|
|
And the active main tab should be Repository
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to issues tab
|
|
|
|
Given I press "g" and "i"
|
|
|
|
Then the active main tab should be Issues
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to merge requests tab
|
|
|
|
Given I press "g" and "m"
|
|
|
|
Then the active main tab should be Merge Requests
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to snippets tab
|
|
|
|
Given I press "g" and "s"
|
|
|
|
Then the active main tab should be Snippets
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to wiki tab
|
|
|
|
Given I press "g" and "w"
|
|
|
|
Then the active main tab should be Wiki
|
|
|
|
|
|
|
|
@javascript
|
2015-09-11 14:41:01 +05:30
|
|
|
Scenario: Navigate to project home
|
2015-04-26 12:48:37 +05:30
|
|
|
Given I press "g" and "p"
|
2017-08-17 22:00:37 +05:30
|
|
|
Then the active sub tab should be Home
|
|
|
|
And the active main tab should be Project
|
2015-09-11 14:41:01 +05:30
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to project feed
|
|
|
|
Given I press "g" and "e"
|
2017-08-17 22:00:37 +05:30
|
|
|
Then the active sub tab should be Activity
|
|
|
|
And the active main tab should be Project
|