mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-13 10:54:23 +01:00
Simplify feature test to make date-independent
This commit is contained in:
parent
38387c844d
commit
3fc9173d54
3 changed files with 1 additions and 21 deletions
|
|
@ -153,24 +153,13 @@ Feature: Show done
|
|||
| all done actions page for project "test project"| "test project" project | |
|
||||
| all done actions page for tag "starred" | home page | in the context container for "@pc" |
|
||||
|
||||
@javascript @reset_time
|
||||
@javascript
|
||||
Scenario: Activating the last todo will show empty message
|
||||
Given the date is "2013-03-11"
|
||||
And I have a completed todo with description "todo 2" in context "@pc" completed 2 days ago
|
||||
And I have a completed todo with description "todo 3" in context "@pc" completed 7 days ago
|
||||
When I go to the done actions page
|
||||
Then I should see "todo 1" in the done today container
|
||||
And I should see "todo 2" in the done this week container
|
||||
And I should see "todo 3" in the done this month container
|
||||
When I mark the completed todo "todo 1" active
|
||||
Then I should not see the todo "todo 1"
|
||||
And I should see empty message for done today of done actions
|
||||
When I mark the completed todo "todo 2" active
|
||||
Then I should not see the todo "todo 2"
|
||||
And I should see empty message for done this week of done actions
|
||||
When I mark the completed todo "todo 3" active
|
||||
Then I should not see the todo "todo 3"
|
||||
And I should see empty message for done this month of done actions
|
||||
|
||||
@javascript
|
||||
Scenario Outline: I can toggle the star of a todo from the done pages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue