2016-02-15 22:26:30 +00:00
|
|
|
@dashboard
|
2016-02-20 13:59:59 +00:00
|
|
|
Feature: Dashboard Todos
|
2016-02-15 22:26:30 +00:00
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And I own project "Shop"
|
|
|
|
And "John Doe" is a developer of project "Shop"
|
2016-02-18 03:20:31 +00:00
|
|
|
And "Mary Jane" is a developer of project "Shop"
|
|
|
|
And "Mary Jane" owns private project "Enterprise"
|
|
|
|
And I am a developer of project "Enterprise"
|
2016-02-20 13:59:59 +00:00
|
|
|
And I have todos
|
|
|
|
And I visit dashboard todos page
|
2016-02-15 22:26:30 +00:00
|
|
|
|
|
|
|
@javascript
|
2016-02-20 13:59:59 +00:00
|
|
|
Scenario: I mark todos as done
|
|
|
|
Then I should see todos assigned to me
|
|
|
|
And I mark the todo as done
|
2016-02-15 22:26:30 +00:00
|
|
|
And I click on the "Done" tab
|
2016-02-20 13:59:59 +00:00
|
|
|
Then I should see all todos marked as done
|
2016-02-18 03:20:31 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I filter by project
|
|
|
|
Given I filter by "Enterprise"
|
2016-02-20 13:59:59 +00:00
|
|
|
Then I should not see todos
|
2016-02-18 03:20:31 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I filter by author
|
|
|
|
Given I filter by "John Doe"
|
2016-02-20 13:59:59 +00:00
|
|
|
Then I should not see todos related to "Mary Jane" in the list
|
2016-02-18 03:20:31 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I filter by type
|
|
|
|
Given I filter by "Issue"
|
2016-02-20 13:59:59 +00:00
|
|
|
Then I should not see todos related to "Merge Requests" in the list
|
2016-02-18 03:20:31 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I filter by action
|
|
|
|
Given I filter by "Mentioned"
|
2016-02-20 13:59:59 +00:00
|
|
|
Then I should not see todos related to "Assignments" in the list
|
2016-03-30 14:17:03 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I click on a todo row
|
|
|
|
Given I click on the todo
|
|
|
|
Then I should be directed to the corresponding page
|