Updated to svn tags/tracks-1.6

This commit is contained in:
bsag 2008-06-03 19:40:22 +01:00
parent 103fcb8049
commit 02496f2d44
2274 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,12 @@
setup :fixtures => :all
login :as => 'admin'
open "/tickler"
click "edit_icon_todo_15"
wait_for_visible "context_name_todo_15"
type "context_name_todo_15", "lab"
click "submit_todo_15"
wait_for_element_not_present "css=#c6 #todo_15"
wait_for_visible "c5"
wait_for_visible "css=#c5 #todo_15"
assert_not_visible "c5empty-nd"
wait_for_not_visible "c6"

View file

@ -0,0 +1,12 @@
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']"

View file

@ -0,0 +1,9 @@
setup :fixtures => :all
login :as => 'admin'
open "/tickler"
assert_context_count_incremented do
type "todo_description", "a new action"
type "todo_context_name", "Brand new context"
type "todo_show_from", "1/1/2030"
click "css=#todo-form-new-action .submit_box button"
end

View file

@ -0,0 +1,4 @@
setup :fixtures => :all
login :as => 'admin'
open "/tickler/"
assert_element_present "todo_15"