mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-05 04:20:15 +01:00
get features running for recurring todos
This commit is contained in:
parent
f90d0d8eb9
commit
ffd4ae1fcd
7 changed files with 131 additions and 27 deletions
|
|
@ -8,6 +8,8 @@ Feature: Manage recurring todos
|
|||
| login | password | is_admin |
|
||||
| testuser | secret | false |
|
||||
And I have logged in as "testuser" with password "secret"
|
||||
And I have a context called "test context"
|
||||
And I have a repeat pattern called "run tests"
|
||||
|
||||
@selenium
|
||||
Scenario: Being able to select daily, weekly, monthly and yearly pattern
|
||||
|
|
@ -23,18 +25,39 @@ Feature: Manage recurring todos
|
|||
When I select "Daily" recurrence pattern
|
||||
Then I should see the form for "Daily" recurrence pattern
|
||||
|
||||
@selenium
|
||||
@selenium
|
||||
Scenario: I can mark a repeat pattern as starred
|
||||
Given this scenario is pending
|
||||
When I go to the repeating todos page
|
||||
And I star the pattern "run tests"
|
||||
Then the pattern "run tests" should be starred
|
||||
|
||||
@selenium
|
||||
Scenario: I can edit a repeat pattern
|
||||
Given this scenario is pending
|
||||
When I go to the repeating todos page
|
||||
And I edit the name of the pattern "run tests" to "report test results"
|
||||
Then the pattern "report test results" should be in the state list "active"
|
||||
And I should not see "run tests"
|
||||
|
||||
@selenium
|
||||
Scenario: I can delete a repeat pattern
|
||||
Given this scenario is pending
|
||||
When I go to the repeating todos page
|
||||
And I delete the pattern "run tests"
|
||||
And I should not see "run tests"
|
||||
|
||||
@selenium
|
||||
Scenario: I can mark a repeat pattern as done
|
||||
Given this scenario is pending
|
||||
When I go to the repeating todos page
|
||||
Then the pattern "run tests" should be in the state list "active"
|
||||
And the state list "completed" should be empty
|
||||
When I mark the pattern "run tests" as complete
|
||||
Then the pattern "run tests" should be in the state list "completed"
|
||||
And the state list "active" should be empty
|
||||
|
||||
@selenium
|
||||
Scenario: I can reactivate a repeat pattern
|
||||
Given I have a completed repeat pattern "I'm done"
|
||||
When I go to the repeating todos page
|
||||
Then the pattern "I'm done" should be in the state list "completed"
|
||||
When I mark the pattern "I'm done" as active
|
||||
Then the pattern "I'm done" should be in the state list "active"
|
||||
And the state list "completed" should be empty
|
||||
Loading…
Add table
Add a link
Reference in a new issue