mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-02 15:28:50 +01:00
Project default tags
This commit is contained in:
parent
e1079b4bc7
commit
bfc6189611
6 changed files with 23 additions and 3 deletions
16
test/selenium/project_detail/prefill_default_tags.rsel
Normal file
16
test/selenium/project_detail/prefill_default_tags.rsel
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
|
||||
#first, defer a todo
|
||||
open "/projects/1"
|
||||
click 'css=.project_settings a'
|
||||
wait_for_visible "project[default_context_name]"
|
||||
type "project_default_tags", "atag"
|
||||
click 'css=.positive'
|
||||
wait_for_value "tag_list", "atag"
|
||||
open "/projects/1"
|
||||
assert_value "tag_list", "atag"
|
||||
type "todo_description", "a new task"
|
||||
type "tag_list", "foo"
|
||||
click "todo_new_action_submit"
|
||||
wait_for_value "tag_list", "atag"
|
||||
Loading…
Add table
Add a link
Reference in a new issue