mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 08:40:12 +01:00
Add Selenium test for bug #776 and bug #775 and resolve both. Also fixed an unreported issue where deferring a todo by editing its show_from wouldn't hide an empty context.
This commit is contained in:
parent
0a39e1ea7e
commit
397029dfc1
4 changed files with 40 additions and 6 deletions
10
test/selenium/home/defer_todo_empty_context.rsel
Normal file
10
test/selenium/home/defer_todo_empty_context.rsel
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
open "/"
|
||||
click "edit_icon_todo_5"
|
||||
wait_for_element_present "show_from_todo_5"
|
||||
type "show_from_todo_5", "1/1/2030"
|
||||
click "css=#submit_todo_5"
|
||||
wait_for_element_not_present "todo_5"
|
||||
assert_text 'badge_count', '9'
|
||||
wait_for_not_visible "c5"
|
||||
Loading…
Add table
Add a link
Reference in a new issue