mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-31 22:38:49 +01:00
fix a lot of selenium tests to pass again
This commit is contained in:
parent
df26cf6e87
commit
09f0322d45
11 changed files with 30 additions and 19 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue