mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
14 lines
467 B
Text
14 lines
467 B
Text
setup :fixtures => :users, :clear_tables => [:projects, :contexts, :todos]
|
|
login :as => 'admin'
|
|
open "/integrations"
|
|
wait_for_element_present "no_context_msg"
|
|
|
|
open "/contexts"
|
|
type "context_name", "my first context"
|
|
click "context_new_submit"
|
|
# wait for new context to appear before navigating away from project page to
|
|
# make sure that the changes have been saved
|
|
wait_for_text_present 'DRAG'
|
|
|
|
open "/integrations"
|
|
wait_for_element_present "applescript1-contexts"
|