mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +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
|
|
@ -1,8 +1,8 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
open "/"
|
||||
wait_for_element_present '//div[@id="line_todo_5"]//img[@alt="Defer_1"]/..'
|
||||
click '//div[@id="line_todo_5"]//img[@alt="Defer_1"]/..'
|
||||
wait_for_element_present '//div[@id="line_todo_5"]//img[@alt="Defer 1 day"]/..'
|
||||
click '//div[@id="line_todo_5"]//img[@alt="Defer 1 day"]/..'
|
||||
wait_for_element_not_present "todo_5"
|
||||
assert_text 'badge_count', '9'
|
||||
assert_text 'badge_count', '10'
|
||||
wait_for_not_visible "c5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue