Updated Selenium test suite so that *all tests pass*. Found and fixed one bug in routes that a Selenium test caught.

This commit is contained in:
Eric Allen 2008-10-02 21:43:38 -04:00
parent 397029dfc1
commit c6b159b97e
9 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
setup :fixtures => :all
login :as => 'admin'
open '/'
click "xpath=//div[@id='completed'] //div[@id='todo_3'] //input[@class='item-checkbox']"
click "xpath=//div[@id='completed_container'] //div[@id='todo_3'] //input[@class='item-checkbox']"
wait_for_element_present "xpath=//div[@id='c4'] //div[@id='todo_3']"
assert_not_visible "c4empty-nd"