summaryrefslogtreecommitdiff
path: root/features/dashboard
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-18 01:20:31 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-20 12:12:05 -0200
commit07eb334c2546294acea43e85308bec907b13467c (patch)
tree44e958d4afec67648365270c79257e21d049e75f /features/dashboard
parentc4c4b808f3ff7944e6b4216e910cc40a0fa2ebec (diff)
downloadgitlab-ce-07eb334c2546294acea43e85308bec907b13467c.tar.gz
Add filters by project, author, type, and action to task queue page list
Diffstat (limited to 'features/dashboard')
-rw-r--r--features/dashboard/task_queue.feature23
1 files changed, 23 insertions, 0 deletions
diff --git a/features/dashboard/task_queue.feature b/features/dashboard/task_queue.feature
index 42b4a86e498..8972a148289 100644
--- a/features/dashboard/task_queue.feature
+++ b/features/dashboard/task_queue.feature
@@ -4,6 +4,9 @@ Feature: Dashboard Task Queue
Given I sign in as a user
And I own project "Shop"
And "John Doe" is a developer of project "Shop"
+ And "Mary Jane" is a developer of project "Shop"
+ And "Mary Jane" owns private project "Enterprise"
+ And I am a developer of project "Enterprise"
And I have pending tasks
And I visit dashboard task queue page
@@ -13,3 +16,23 @@ Feature: Dashboard Task Queue
And I mark the pending task as done
And I click on the "Done" tab
Then I should see all tasks marked as done
+
+ @javascript
+ Scenario: I filter by project
+ Given I filter by "Enterprise"
+ Then I should not see tasks
+
+ @javascript
+ Scenario: I filter by author
+ Given I filter by "John Doe"
+ Then I should not see tasks related to "Mary Jane" in the list
+
+ @javascript
+ Scenario: I filter by type
+ Given I filter by "Issue"
+ Then I should not see tasks related to "Merge Requests" in the list
+
+ @javascript
+ Scenario: I filter by action
+ Given I filter by "Mentioned"
+ Then I should not see tasks related to "Assignments" in the list