BigW Consortium Gitlab

event_filters.feature 1.6 KB
Newer Older
1
@dashboard
2
Feature: Event Filters
3 4 5 6 7 8 9 10
  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
    And I visit dashboard page

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 19 20 21 22 23
  Scenario: I should see only pushed events
    When I click "push" event filter 
    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 41 42 43 44 45 46 47 48

  @javascript
  Scenario: I should see only selected events while page reloaded
    When I click "push" event filter
    And I visit dashboard page
    Then I should see push event
    And I should not see new member event
    When I click "team" event filter
    And I visit dashboard page
    Then I should see push event
    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
50 51 52
    Then I should not see push event
    And I should see new member event
    And I should not see merge request event