mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 00:08:50 +01:00
Show context on un-hidden successor. Fixes #964
Added another todo fixture, which broke some assertions that I had to fix
This commit is contained in:
parent
93b83e8682
commit
21de49c87a
7 changed files with 29 additions and 6 deletions
8
test/selenium/dependencies/unhide_hidden_context.rsel
Normal file
8
test/selenium/dependencies/unhide_hidden_context.rsel
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Test for issue #964
|
||||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
Todo.create(:context => Context.find(3), :description => 'foo')
|
||||
open "/"
|
||||
click "css=#successor_todo_19 img.delete_item"
|
||||
wait_for_visible 'flash'
|
||||
assert_visible 'c3'
|
||||
|
|
@ -31,5 +31,5 @@ wait_for_text 'css=h1 span.count', '2'
|
|||
|
||||
# just test the navigation.
|
||||
click_and_wait "link=Tickler"
|
||||
wait_for_text 'css=h1 span.count', '0'
|
||||
wait_for_text 'css=h1 span.count', '1'
|
||||
click_and_wait "link=Feeds"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue