fix a lot of selenium tests to pass again

This commit is contained in:
Reinier Balt 2008-12-02 20:58:54 +01:00
parent df26cf6e87
commit 09f0322d45
11 changed files with 30 additions and 19 deletions

View file

@ -2,10 +2,12 @@ setup :fixtures => :all
login :as => 'admin'
open '/m'
wait_for_text 'css=h1 span.count', '10'
wait_for_text 'css=h1 span.count', '11'
open '/todos/6.m'
wait_for_page_to_load 3000
open_and_wait '/todos/6.m'
click "done"
click_and_wait "//input[@value='Update']"
wait_for_text 'css=h1 span.count', '9'
wait_for_text 'css=h1 span.count', '10'