BigW Consortium Gitlab

dashboard.feature 2.32 KB
Newer Older
1
@dashboard
randx committed
2
Feature: Dashboard
3 4
  Background:
    Given I sign in as a user
randx committed
5 6
    And I own project "Shop"
    And project "Shop" has push event
7 8
    And project "Shop" has CI enabled
    And project "Shop" has CI build
9
    And project "Shop" has labels: "bug", "feature", "enhancement"
Phil Hughes committed
10
    And project "Shop" has issue: "bug report"
11
    And I visit dashboard page
randx committed
12 13

  Scenario: I should see projects list
14
    Then I should see "New Project" link
randx committed
15
    Then I should see "Shop" project link
16
    Then I should see "Shop" project CI status
17 18 19 20

  @javascript
  Scenario: I should see activity list
    And I visit dashboard activity page
randx committed
21 22
    Then I should see project "Shop" activity feed

23 24 25 26 27
  Scenario: I should see groups list
    Given I have group with projects
    And I visit dashboard page
    Then I should see groups list

28
  @javascript
29
  Scenario: I should see last push widget
randx committed
30 31 32 33
    Then I should see last push widget
    And I click "Create Merge Request" link
    Then I see prefilled new Merge Request page

34 35 36 37 38 39 40 41
  @javascript
  Scenario: Sorting Issues
    Given I visit dashboard issues page
    And I sort the list by "Oldest updated"
    And I visit dashboard activity page
    And I visit dashboard issues page
    Then The list should be sorted by "Oldest updated"

42 43 44 45 46 47 48
  @javascript
  Scenario: Filtering Issues by label
    Given project "Shop" has issue "Bugfix1" with label "feature"
    When I visit dashboard issues page
    And I filter the list by label "feature"
    Then I should see "Bugfix1" in issues list

49 50 51 52 53 54 55
  @javascript
  Scenario: Visiting Project's issues after sorting
    Given I visit dashboard issues page
    And I sort the list by "Oldest updated"
    And I visit project "Shop" issues page
    Then The list should be sorted by "Oldest updated"

56 57 58 59 60 61 62
  @javascript
  Scenario: Sorting Merge Requests
    Given I visit dashboard merge requests page
    And I sort the list by "Oldest updated"
    And I visit dashboard activity page
    And I visit dashboard merge requests page
    Then The list should be sorted by "Oldest updated"
63 64 65

  @javascript
  Scenario: Visiting Project's merge requests after sorting
Luke "Jared" Bennett committed
66 67
    Given project "Shop" has a "Bugfix MR" merge request open
    And I visit dashboard merge requests page
68 69 70
    And I sort the list by "Oldest updated"
    And I visit project "Shop" merge requests page
    Then The list should be sorted by "Oldest updated"