2016-04-02 18:10:28 +05:30
|
|
|
@dashboard
|
|
|
|
Feature: Dashboard Todos
|
|
|
|
Background:
|
|
|
|
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 todos
|
|
|
|
And I visit dashboard todos page
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I mark todos as done
|
|
|
|
Then I should see todos assigned to me
|
|
|
|
And I mark the todo as done
|
2016-06-22 15:30:34 +05:30
|
|
|
Then I should see the todo marked as done
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I mark all todos as done
|
|
|
|
Then I should see todos assigned to me
|
|
|
|
And I mark all todos as done
|
2016-04-02 18:10:28 +05:30
|
|
|
Then I should see all todos marked as done
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
@javascript
|
|
|
|
Scenario: I click on a todo row
|
|
|
|
Given I click on the todo
|
|
|
|
Then I should be directed to the corresponding page
|