summaryrefslogtreecommitdiff
path: root/features/dashboard/task_queue.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/dashboard/task_queue.feature')
-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