gitlab-org--gitlab-foss/features/project/shortcuts.feature

61 lines
1.6 KiB
Gherkin
Raw Normal View History

2014-08-21 04:14:31 -04:00
@dashboard
Feature: Project Shortcuts
2014-08-21 04:14:31 -04:00
Background:
Given I sign in as a user
And I own a project
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
Then the active sub tab should be Files
2014-08-21 04:14:31 -04:00
@javascript
Scenario: Navigate to commits tab
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
Then the active sub tab should be Commits
2014-08-21 04:14:31 -04:00
@javascript
Scenario: Navigate to network tab
Given I press "g" and "n"
Then the active sub tab should be Network
2016-06-21 10:54:02 -04:00
And the active main tab should be Repository
2014-08-21 04:14:31 -04:00
@javascript
Scenario: Navigate to graphs tab
Given I press "g" and "g"
Then the active main tab should be Graphs
@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
Scenario: Navigate to project home
Given I press "g" and "p"
Then the active main tab should be Home
@javascript
Scenario: Navigate to project feed
Given I press "g" and "e"
Then the active main tab should be Activity