tracks/test/selenium/tickler/create_deferred_todo_with_existing_context.rsel

14 lines
568 B
Text
Raw Normal View History

setup :fixtures => [:users, :preferences, :contexts, :projects], :clear_tables => [:todos]
login :as => 'admin'
open "/tickler"
assert_context_count_incremented do
type "todo_description", "a new action"
type "todo_context_name", "errands"
type "todo_project_name", "None"
type "todo_show_from", "1/1/2030"
click "css=#todo-form-new-action .submit_box button"
assert_confirmation "New context \"errands\" will be also created. Are you sure?"
end
wait_for_not_visible "tickler-empty-nd"
2009-11-25 15:45:25 -05:00
wait_for_element_present "css=div.item-container a[title=01/01/2030]"