fix failing scenario for calendar

This commit is contained in:
Reinier Balt 2011-04-01 21:50:00 +02:00
parent 83e1e36d73
commit 8efd90b93d
3 changed files with 11 additions and 8 deletions

View file

@ -10,7 +10,7 @@ Feature: Show all due actions in a calendar view
And I have logged in as "testuser" with password "secret"
And I have a context called "@calendar"
@selenium
@selenium
Scenario: Setting due date of a todo will show it in the calendar
When I submit a new action with description "a new next action" in the context "@calendar"
And I go to the calendar page
@ -22,7 +22,7 @@ Feature: Show all due actions in a calendar view
Then the badge should show 1
And I should see "a new next action"
@selenium
@selenium
Scenario: Clearing the due date of a todo will remove it from the calendar
When I go to the home page
And I submit a new action with description "a new next action" in the context "@calendar"
@ -32,7 +32,7 @@ Feature: Show all due actions in a calendar view
When I clear the due date of "a new next action"
Then I should not see "a new next action"
@selenium
@selenium
Scenario: Marking a todo complete will remove it from the calendar
Given I have a todo "a new next action" in the context "@calendar" which is due tomorrow
When I go to the calendar page
@ -54,4 +54,4 @@ Feature: Show all due actions in a calendar view
When I go to the calendar page
Then I should see "a new next action"
When I edit the due date of "a new next action" to next month
Then I should see "a new next action" in the due next month container
Then I should see "a new next action" in the due next month container