BigW Consortium Gitlab

event_filters.feature 1.86 KB
Newer Older
1
@dashboard
2
Feature: Event Filters
3 4 5 6 7 8
  Background:
    Given I sign in as a user
    And I own a project
    And this project has push event
    And this project has new member event
    And this project has merge request event
9
    And I visit dashboard activity page
10

11
  @javascript
12 13
  Scenario: I should see all events
    Then I should see push event
14 15 16
    And I should see new member event
    And I should see merge request event

17
  @javascript
18
  Scenario: I should see only pushed events
19
    When I click "push" event filter
20 21 22 23
    Then I should see push event
    And I should not see new member event
    And I should not see merge request event

24
  @javascript
25 26
  Scenario: I should see only joined events
    When I click "team" event filter
27
    Then I should see new member event
28 29
    And I should not see push event
    And I should not see merge request event
30

31
  @javascript
32 33 34 35 36
  Scenario: I should see only merged events
    When I click "merge" event filter
    Then I should see merge request event
    And I should not see push event
    And I should not see new member event
37 38 39 40

  @javascript
  Scenario: I should see only selected events while page reloaded
    When I click "push" event filter
41
    And I visit dashboard activity page
42 43 44
    Then I should see push event
    And I should not see new member event
    When I click "team" event filter
45
    And I visit dashboard activity page
Phil Hughes committed
46
    Then I should not see push event
47 48
    And I should see new member event
    And I should not see merge request event
Alex Denisov committed
49
    When I click "push" event filter
Phil Hughes committed
50 51 52
    And I visit dashboard activity page
    Then I should see push event
    And I should not see new member event
53
    And I should not see merge request event
Phil Hughes committed
54 55 56 57 58
    When I click "merge" event filter
    And I visit dashboard activity page
    Then I should see merge request event
    And I should not see push event
    And I should not see new member event