mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 08:40:12 +01:00
Deleting the last todo should hide a context
This commit is contained in:
parent
93c6151ca7
commit
c1dfeaf0f2
2 changed files with 8 additions and 1 deletions
7
test/selenium/home/delete_todo_empty_context.rsel
Normal file
7
test/selenium/home/delete_todo_empty_context.rsel
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue