summaryrefslogtreecommitdiff
path: root/features/dashboard
diff options
context:
space:
mode:
authorAlex Denisov <1101.debian@gmail.com>2012-12-02 22:54:19 +0200
committerAlex Denisov <1101.debian@gmail.com>2013-01-09 19:30:20 +0000
commitb255c3c44b849510e19be88833bb73425b8d0e9d (patch)
treed0fd4a5bbbc223cdd01dd8c6529af47fa6b75813 /features/dashboard
parent2b93201533d0d5c7fdcb9b6e74f0eec944ed0ea9 (diff)
downloadgitlab-ce-b255c3c44b849510e19be88833bb73425b8d0e9d.tar.gz
Tests on events filtering added
Diffstat (limited to 'features/dashboard')
-rw-r--r--features/dashboard/event_filters.feature19
1 files changed, 18 insertions, 1 deletions
diff --git a/features/dashboard/event_filters.feature b/features/dashboard/event_filters.feature
index e3e6eced8fb..050d98951a8 100644
--- a/features/dashboard/event_filters.feature
+++ b/features/dashboard/event_filters.feature
@@ -9,6 +9,23 @@ Feature: Event filters
Scenario: I should see all events
Then I should see push event
+ And I should see new member event
+ And I should see merge request event
+
+ 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
+
+ Scenario: I should see only joined events
+ When I click "team" event filter
Then I should see new member event
- Then I should see merge request event
+ And I should not see push event
+ And I should not see merge request event
+ 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