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"
end
wait_for_not_visible "tickler-empty-nd"
wait_for_element_present "xpath=//div[@class='item-container'] //a[@title='01/01/2030']"
