mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-14 03:14:22 +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
24
test/selenium/project_detail/change_default_context.rsel
Normal file
24
test/selenium/project_detail/change_default_context.rsel
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
open "/projects/2"
|
||||
|
||||
# change default context
|
||||
type "project[default_context_name]", "errand"
|
||||
click "commit"
|
||||
|
||||
wait_for_visible "flash"
|
||||
|
||||
# add actions
|
||||
type "todo_description", "test1"
|
||||
click "css=#todo-form-new-action .submit_box button"
|
||||
|
||||
wait_for_visible "flash"
|
||||
wait_for_not_visible "flash"
|
||||
|
||||
type "todo_description", "test2"
|
||||
click "css=#todo-form-new-action .submit_box button"
|
||||
wait_for_visible "flash"
|
||||
|
||||
# check that context errand now contains 2 todos
|
||||
open "/contexts/4"
|
||||
assert_text "badge_count", "2"
|
||||
Loading…
Add table
Add a link
Reference in a new issue