2014-08-21 04:14:31 -04:00
|
|
|
@dashboard
|
2014-10-02 12:42:54 -04:00
|
|
|
Feature: Project Shortcuts
|
2014-08-21 04:14:31 -04:00
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And I own a project
|
2015-07-08 11:36:31 -04:00
|
|
|
And I visit my project's commits page
|
2014-08-21 04:14:31 -04:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to files tab
|
|
|
|
Given I press "g" and "f"
|
2016-06-21 10:54:02 -04:00
|
|
|
Then the active main tab should be Repository
|
2016-06-02 15:32:22 -04:00
|
|
|
Then the active sub tab should be Files
|
2014-08-21 04:14:31 -04:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to commits tab
|
2015-07-08 11:36:31 -04:00
|
|
|
Given I visit my project's files page
|
2014-08-21 04:14:31 -04:00
|
|
|
Given I press "g" and "c"
|
2016-06-21 10:54:02 -04:00
|
|
|
Then the active main tab should be Repository
|
2016-06-02 15:32:22 -04:00
|
|
|
Then the active sub tab should be Commits
|
2014-08-21 04:14:31 -04:00
|
|
|
|
|
|
|
@javascript
|
2017-03-02 12:57:01 -05:00
|
|
|
Scenario: Navigate to graph tab
|
2014-08-21 04:14:31 -04:00
|
|
|
Given I press "g" and "n"
|
2017-03-02 12:57:01 -05:00
|
|
|
Then the active sub tab should be Graph
|
2016-06-21 10:54:02 -04:00
|
|
|
And the active main tab should be Repository
|
2014-08-21 04:14:31 -04:00
|
|
|
|
2017-03-06 18:52:57 -05:00
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to repository charts tab
|
2017-03-30 12:37:37 -04:00
|
|
|
Given I press "g" and "d"
|
2017-03-06 18:52:57 -05:00
|
|
|
Then the active sub tab should be Charts
|
|
|
|
And the active main tab should be Repository
|
|
|
|
|
2014-08-21 04:14:31 -04:00
|
|
|
@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
|
2014-09-08 02:47:26 -04:00
|
|
|
|
|
|
|
@javascript
|
2015-07-08 06:43:46 -04:00
|
|
|
Scenario: Navigate to project home
|
2014-09-08 02:47:26 -04:00
|
|
|
Given I press "g" and "p"
|
2017-03-06 18:52:57 -05:00
|
|
|
Then the active sub tab should be Home
|
|
|
|
And the active main tab should be Project
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Navigate to project feed
|
|
|
|
Given I press "g" and "e"
|
|
|
|
Then the active sub tab should be Activity
|
|
|
|
And the active main tab should be Project
|