Fixed a bunch of tests

This commit is contained in:
Eric Allen 2009-10-09 21:27:27 -04:00
parent d9108abe92
commit e32b23c615
7 changed files with 22 additions and 9 deletions

View file

@ -5,7 +5,7 @@ open "/projects/1"
# add new todo
type "todo_description", "a brand new todo"
click "css=#todo-form-new-action .submit_box button"
wait_for_element_present "xpath=//div[@id='p1'] //div[@class='item-container']"
wait_for_element_present "xpath=//div[@id='p1items'] //div[@class='item-container']"
# wait for flash to mention that todo was added and verify existence of new todo
wait_for_visible "flash"