summaryrefslogtreecommitdiff
path: root/features/dashboard
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-24 18:22:48 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-24 18:22:48 +0200
commit4c61c467385ca889bc273a171bcd1ebfb9e739e9 (patch)
treea551f91f9a5f13cf3cc876816546db9f73ed289f /features/dashboard
parent5953582b65e1d49c3d04d9bc97069cb323ab277c (diff)
downloadgitlab-ce-4c61c467385ca889bc273a171bcd1ebfb9e739e9.tar.gz
Add tests to Dashboard#merge_requests filter
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/dashboard')
-rw-r--r--features/dashboard/merge_requests.feature14
1 files changed, 12 insertions, 2 deletions
diff --git a/features/dashboard/merge_requests.feature b/features/dashboard/merge_requests.feature
index cad65b0d79a..de560300735 100644
--- a/features/dashboard/merge_requests.feature
+++ b/features/dashboard/merge_requests.feature
@@ -2,7 +2,17 @@ Feature: Dashboard Merge Requests
Background:
Given I sign in as a user
And I have authored merge requests
+ And I have assigned merge requests
+ And I have other merge requests
And I visit dashboard merge requests page
- Scenario: I should see projects list
- Then I should see my merge requests
+ Scenario: I should see assigned merge_requests
+ Then I should see merge requests assigned to me
+
+ Scenario: I should see authored merge_requests
+ When I click "Authored by me" link
+ Then I should see merge requests authored by me
+
+ Scenario: I should see all merge_requests
+ When I click "All" link
+ Then I should see all merge requests