mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
10 lines
493 B
Text
10 lines
493 B
Text
setup :fixtures => :all
|
|
login :as => 'admin'
|
|
open "/projects/1"
|
|
click "project_name_in_place_editor"
|
|
wait_for_element_present "css=#project_name_in_place_editor-inplaceeditor input.editor_field"
|
|
type "css=#project_name_in_place_editor-inplaceeditor input.editor_field", "Test Foo"
|
|
click "css=#project_name_in_place_editor-inplaceeditor input.editor_ok_button"
|
|
wait_for_text "project_name_in_place_editor", "Test Foo"
|
|
open "/projects/1"
|
|
wait_for_text "project_name_in_place_editor", "Test Foo"
|