From 72b2d4dfc95c522cbc3af966ef7bc1e2f85529a8 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Fri, 4 Feb 2011 20:34:32 +0100 Subject: [PATCH] remove selenium scripts that are covered by cucumber scenarios --- .../selenium/dependencies/assign_dependency.rsel | 8 -------- .../dependencies/unhide_hidden_context.rsel | 8 -------- test/selenium/tags/badge_count.rsel | 16 ---------------- .../tags/create_todo_in_hidden_context.rsel | 8 -------- 4 files changed, 40 deletions(-) delete mode 100644 test/selenium/dependencies/assign_dependency.rsel delete mode 100644 test/selenium/dependencies/unhide_hidden_context.rsel delete mode 100644 test/selenium/tags/badge_count.rsel delete mode 100644 test/selenium/tags/create_todo_in_hidden_context.rsel diff --git a/test/selenium/dependencies/assign_dependency.rsel b/test/selenium/dependencies/assign_dependency.rsel deleted file mode 100644 index 4310b4b4..00000000 --- a/test/selenium/dependencies/assign_dependency.rsel +++ /dev/null @@ -1,8 +0,0 @@ -setup :fixtures => :all -login :as => 'admin' -open "/" -drag_todo_to 18, 9 -wait_for_visible 'css=#todo_9 a.show_successors img' -click 'css=#todo_9 a.show_successors img' -assert_visible 'successors_todo_9' -assert_visible 'css=#successors_todo_9 #successor_todo_18' diff --git a/test/selenium/dependencies/unhide_hidden_context.rsel b/test/selenium/dependencies/unhide_hidden_context.rsel deleted file mode 100644 index 07c0383b..00000000 --- a/test/selenium/dependencies/unhide_hidden_context.rsel +++ /dev/null @@ -1,8 +0,0 @@ -# Test for issue #964 -setup :fixtures => :all -login :as => 'admin' -Todo.create(:context => Context.find(3), :description => 'foo') -open "/" -click "css=#successor_todo_19 img.delete_item" -wait_for_visible 'flash' -assert_visible 'c3' diff --git a/test/selenium/tags/badge_count.rsel b/test/selenium/tags/badge_count.rsel deleted file mode 100644 index ae441110..00000000 --- a/test/selenium/tags/badge_count.rsel +++ /dev/null @@ -1,16 +0,0 @@ -setup :fixtures => :all -login :as => 'admin' -open "/todos/tag/foo" -assert_text 'badge_count', '2' - -click "css=#ultodo_2 img[alt='Delete']" -assert_confirmation "Are you sure that you want to delete the action 'Call dinosaur exterminator'?" -wait_for_element_not_present "todo_2" - -assert_text 'badge_count', '1' - -# mark one complete -click "xpath=//div[@id='c1'] //div[@id='todo_1'] //input[@class='item-checkbox']" -wait_for_element_present "xpath=//div[@id='completed_container'] //div[@id='todo_1']" - -assert_text 'badge_count', '0' diff --git a/test/selenium/tags/create_todo_in_hidden_context.rsel b/test/selenium/tags/create_todo_in_hidden_context.rsel deleted file mode 100644 index 7ea8d481..00000000 --- a/test/selenium/tags/create_todo_in_hidden_context.rsel +++ /dev/null @@ -1,8 +0,0 @@ -setup :fixtures => :all -login :as => 'admin' -open "/todos/tag/foo" -type "todo_description", "run around" -type "todo_context_name", "freetime" -click "todo_new_action_submit" -wait_for_visible "flash" -assert_text "css=#c7items div.description span", "run around"