mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
The form for new recurring todos has different id's, causing it to not get the awesome JavaScript. Duplicated to make it work.
12 lines
483 B
Text
12 lines
483 B
Text
setup :fixtures => :users, :clear_tables => [:projects, :contexts, :todos]
|
|
login :as => 'admin'
|
|
open "/recurring_todos"
|
|
click "css=#recurring_new_container a"
|
|
click "recurring_todo_recurring_period_daily"
|
|
assert_visible "recurring_daily"
|
|
click "recurring_todo_recurring_period_weekly"
|
|
assert_visible "recurring_weekly"
|
|
click "recurring_todo_recurring_period_monthly"
|
|
assert_visible "recurring_monthly"
|
|
click "recurring_todo_recurring_period_yearly"
|
|
assert_visible "recurring_yearly"
|