tracks/test/selenium/home/delete_todo_empty_context.rsel
2009-10-30 15:20:06 -04:00

7 lines
315 B
Text

setup :fixtures => :all
login :as => 'admin'
open "/"
wait_for_element_present '//div[@id="line_todo_5"]//img[@alt="Delete"]/..'
click '//div[@id="line_todo_5"]//img[@alt="Delete"]/..'
assert_confirmation "Are you sure that you want to delete the action 'Construct time dilation device'?"
wait_for_not_visible "c5"