diff --git a/test/selenium/tags/change_context_in_tag_view.rsel b/test/selenium/tags/change_context_in_tag_view.rsel new file mode 100644 index 00000000..74bf8b85 --- /dev/null +++ b/test/selenium/tags/change_context_in_tag_view.rsel @@ -0,0 +1,17 @@ +setup :fixtures => :all +login :as => 'admin' +open "/todos/tag/foo" +wait_for_element_present "xpath=//div[@id='c1'] //h2" + +# change context name +click "edit_icon_todo_1" +wait_for_element_present "submit_todo_1" +type "//input[@name='context_name']", "call" +click "//button[@id='submit_todo_1']" +wait_for_visible "flash" + +# check context agenda is gone +wait_for_not_visible "c1" +verify_text_present "Call Bill Gates to find out how much he makes per day" + +