shortcuts.feature 1.44 KB
Newer Older
1
@dashboard
2
Feature: Project Shortcuts
3 4 5
  Background:
    Given I sign in as a user
    And I own a project
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
6
    And I visit my project's commits page
7 8 9 10 11 12 13 14

  @javascript
  Scenario: Navigate to files tab
    Given I press "g" and "f"
    Then the active main tab should be Files

  @javascript
  Scenario: Navigate to commits tab
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
15
    Given I visit my project's files page
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
    Given I press "g" and "c"
    Then the active main tab should be Commits

  @javascript
  Scenario: Navigate to network tab
    Given I press "g" and "n"
    Then the active main tab should be Network

  @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
48 49

  @javascript
50
  Scenario: Navigate to project home
51 52
    Given I press "g" and "p"
    Then the active main tab should be Home
53 54 55 56 57

  @javascript
  Scenario: Navigate to project feed
    Given I press "g" and "e"
    Then the active main tab should be Activity