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

@ -4,7 +4,7 @@ login :as => 'admin'
open '/m'
wait_for_text 'css=h1 span.count', '10'
click_and_wait "link=Add new action"
click_and_wait "link=0-Add new action"
type "todo_notes", "test notes"
type "todo_description", "test name"

View file

@ -7,7 +7,7 @@ wait_for_title "All actions"
wait_for_text 'css=h1 span.count', '10'
# open context page
click_and_wait "link=Contexts"
click_and_wait "link=2-Contexts"
# verify_title "All actions in context agenda"
# choose agenda context
click_and_wait "link=agenda"
@ -18,7 +18,7 @@ click_and_wait "link=foo"
verify_title "TRACKS::Tagged with 'foo'"
wait_for_text 'css=h1 span.count', '2'
click_and_wait "link=Projects"
click_and_wait "link=3-Projects"
wait_for_text 'css=h1 span.count', '3'
click_and_wait "link=Build a working time machine"
wait_for_text 'css=h1 span.count', '3'