mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-18 23:16:10 +01:00
10 lines
328 B
Text
10 lines
328 B
Text
setup :fixtures => :all
|
|
login :as => 'admin'
|
|
open "/contexts/1"
|
|
click "context_name"
|
|
wait_for_element_present "css=#context_name form input"
|
|
type "css=#context_name form input", "Test Foo"
|
|
click "css=#context_name form button"
|
|
wait_for_text "context_name", "Test Foo"
|
|
open "/contexts/1"
|
|
wait_for_text "context_name", "Test Foo"
|