mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 01:00:13 +01:00
Fixing broken selenium-on-rails tests
This commit is contained in:
parent
3ac4c5c7d5
commit
a1aedfb172
8 changed files with 9 additions and 9 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 day"]/..'
|
||||
click '//div[@id="line_todo_5"]//img[@alt="Defer 1 day"]/..'
|
||||
wait_for_element_present '//div[@id="line_todo_5"]//img[@alt="Defer one day"]/..'
|
||||
click '//div[@id="line_todo_5"]//img[@alt="Defer one day"]/..'
|
||||
wait_for_element_not_present "todo_5"
|
||||
assert_text 'badge_count', '10'
|
||||
wait_for_not_visible "c5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue