get selenium scenarios running again and add some scenarios for adding todos started

This commit is contained in:
Reinier Balt 2011-01-08 09:12:37 +01:00
parent 09830d044d
commit ab2e51a51a
17 changed files with 135 additions and 69 deletions

View file

@ -1,10 +0,0 @@
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"
assert_confirmation "New context \"Brand new context\" will be also created. Are you sure?"
end

View file

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