mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-03 03:20:15 +01:00
Updated to svn tags/tracks-1.6
This commit is contained in:
parent
103fcb8049
commit
02496f2d44
2274 changed files with 0 additions and 0 deletions
35
test/selenium/mobile/navigation.rsel
Normal file
35
test/selenium/mobile/navigation.rsel
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
|
||||
# open home page
|
||||
open '/m'
|
||||
wait_for_title "All actions"
|
||||
wait_for_text 'css=h1 span.count', '10'
|
||||
|
||||
# open context page
|
||||
click_and_wait "link=Contexts"
|
||||
# verify_title "All actions in context agenda"
|
||||
# choose agenda context
|
||||
click_and_wait "link=agenda"
|
||||
wait_for_text 'css=h1 span.count', '5'
|
||||
|
||||
# click on tag foo to go to tag page
|
||||
click_and_wait "link=foo"
|
||||
verify_title "TRACKS::Tagged with 'foo'"
|
||||
wait_for_text 'css=h1 span.count', '2'
|
||||
|
||||
click_and_wait "link=Projects"
|
||||
wait_for_text 'css=h1 span.count', '3'
|
||||
click_and_wait "link=Build a working time machine"
|
||||
wait_for_text 'css=h1 span.count', '3'
|
||||
|
||||
# follow link of action to edit form and mark done
|
||||
click_and_wait "link=Select Delorean model"
|
||||
click "done"
|
||||
click_and_wait "//input[@value='Update']"
|
||||
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'
|
||||
click_and_wait "link=Feeds"
|
||||
Loading…
Add table
Add a link
Reference in a new issue