BigW Consortium Gitlab

shortcuts.feature 1.72 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
6
    And I visit my project's commits page
7 8 9 10

  @javascript
  Scenario: Navigate to files tab
    Given I press "g" and "f"
Stan Hu committed
11
    Then the active main tab should be Repository
12
    Then the active sub tab should be Files
13 14 15

  @javascript
  Scenario: Navigate to commits tab
16
    Given I visit my project's files page
17
    Given I press "g" and "c"
Stan Hu committed
18
    Then the active main tab should be Repository
19
    Then the active sub tab should be Commits
20 21

  @javascript
22
  Scenario: Navigate to graph tab
23
    Given I press "g" and "n"
24
    Then the active sub tab should be Graph
Stan Hu committed
25
    And the active main tab should be Repository
26

27 28
  @javascript
  Scenario: Navigate to repository charts tab
29
    Given I press "g" and "d"
30 31 32
    Then the active sub tab should be Charts
    And the active main tab should be Repository

33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
  @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
52 53

  @javascript
54
  Scenario: Navigate to project home
55
    Given I press "g" and "p"
56 57 58 59 60 61 62 63
    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