diff --git a/test/selenium/project_detail/changing_project_name_should_change_default_project.rsel b/test/selenium/project_detail/changing_project_name_should_change_default_project.rsel new file mode 100644 index 00000000..e78dcd21 --- /dev/null +++ b/test/selenium/project_detail/changing_project_name_should_change_default_project.rsel @@ -0,0 +1,13 @@ +setup :fixtures => :all +login :as => 'admin' +open "/projects/1" + +# change project name +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" + +# check that the default project name is changed too +assert_value "todo_project_name", "Test Foo" \ No newline at end of file