mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 01:08:50 +01:00
add last pending scenarios
the scenarios for preferences will be added with the planned changes
This commit is contained in:
parent
ac6cd8afbc
commit
3bf8c461f1
3 changed files with 9 additions and 8 deletions
|
|
@ -28,7 +28,7 @@ New features:
|
|||
3. You can star an action right from the form to add a new action
|
||||
|
||||
Under the hood:
|
||||
1. Upgraded rails to 2.3.12, jquery to 1.6.1 and jquery-ui to 1.8.13
|
||||
1. Upgraded rails to 2.3.12, jquery to 1.6.2 and jquery-ui to 1.8.14
|
||||
2. fixed several issues with the REST API
|
||||
3. upgraded the act_as_statemachine plugin. This change requires a
|
||||
migration, see note above!
|
||||
|
|
|
|||
|
|
@ -62,26 +62,26 @@ Feature: Manage recurring todos
|
|||
Then the pattern "I'm done" should be in the state list "active"
|
||||
And the state list "completed" should be empty
|
||||
|
||||
@selenium @wip
|
||||
@selenium
|
||||
Scenario: Following the recurring todo link of a todo takes me to the recurring todos page
|
||||
When I go to the home page
|
||||
Then I should see the todo "run tests"
|
||||
When I follow the recurring todo link of "run tests"
|
||||
Then I should be on the repeating todos page
|
||||
|
||||
@selenium @wip
|
||||
@selenium
|
||||
Scenario: Deleting a recurring todo with ending pattern will show message
|
||||
When I go to the repeating todos page
|
||||
And I mark the pattern "run tests" as complete
|
||||
And I go to the home page
|
||||
Then I should see "run tests"
|
||||
When I delete the action "run tests"
|
||||
Then I should see "@@message@@"
|
||||
Then I should see "There is no next action after the recurring action you just deleted. The recurrence is completed"
|
||||
|
||||
@selenium @wip
|
||||
@selenium
|
||||
Scenario: Deleting a recurring todo with active pattern will show new todo
|
||||
When I go to the home page
|
||||
Then I should see "run tests"
|
||||
When I delete the action "run tests"
|
||||
Then I should see "@@message@@"
|
||||
Then I should see "Action was deleted. Because this action is recurring, a new action was added"
|
||||
And I should see "run tests" in the context container for "test context"
|
||||
|
|
@ -88,8 +88,9 @@ When /^I follow the recurring todo link of "([^"]*)"$/ do |action_description|
|
|||
todo = @current_user.todos.find_by_description(action_description)
|
||||
todo.should_not be_nil
|
||||
|
||||
recurring_todo_link = "div.todo_#{todo.id} div a.recurring_icon"
|
||||
click_link recurring_todo_link
|
||||
recurring_todo_link = "xpath=//div[@id='todo_#{todo.id}']//a[@class='recurring_icon']/img"
|
||||
selenium.click( recurring_todo_link )
|
||||
selenium.wait_for_page_to_load(5000)
|
||||
end
|
||||
|
||||
Then /^the state list "([^"]*)" should be empty$/ do |state|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue