delete selenium scripts that have cucumber equivalents

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
This commit is contained in:
Reinier Balt 2011-09-07 22:54:22 +02:00
parent e7c0f6c3d2
commit 7d9f241a12
23 changed files with 0 additions and 228 deletions

View file

@ -1,8 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open "/"
click "edit_icon_todo_12"
wait_for_visible "context_name_todo_12"
type "context_name_todo_12", "someday maybe"
click "submit_todo_12"
wait_for_element_not_present "todo_12"

View file

@ -1,21 +0,0 @@
# when you change a todo to a new context, the new context must show with
# the new todo
setup :fixtures => :all
login :as => 'admin'
open "/"
# change context of todo to new context
click "edit_icon_todo_12"
wait_for_visible "context_name_todo_12"
type "context_name_todo_12", "new context"
click "submit_todo_12"
# check that todo is removed from old context
wait_for_element_not_present "css=#c1 #todo_12"
# check if new context is shown and that the todo is also shown
wait_for_text_present 'new context'
# TODO: this check only looks for todo_12 but does not check if it is contained
# within the new context.
wait_for_element_not_present "#todo_12"

View file

@ -1,11 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open "/"
click "edit_icon_todo_12"
wait_for_visible "context_name_todo_12"
type "context_name_todo_12", "errand"
click "submit_todo_12"
wait_for_element_not_present "css=#c1 #todo_12"
wait_for_visible "c4"
wait_for_visible "css=#c4 #todo_12"
wait_for_not_visible "c4empty-nd"

View file

@ -1,10 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open "/"
assert_context_count_incremented do
type "todo_description", "tttt"
type "todo_project_name", "pppp"
type "todo_context_name", "cccc"
click "css=#todo-form-new-action .submit_box button"
assert_confirmation "New context 'cccc' will be also created. Are you sure?"
end

View file

@ -1,9 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open "/"
assert_context_count_incremented do
type "todo_description", "a new action"
type "todo_context_name", "Brand new context"
click "css=#todo-form-new-action .submit_box button"
assert_confirmation "New context 'Brand new context' will be also created. Are you sure?"
end

View file

@ -1,9 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open "/"
click "edit_icon_todo_9"
wait_for_element_present "show_from_todo_9"
type "show_from_todo_9", "1/1/2030"
click "css=#submit_todo_9"
wait_for_element_not_present "todo_9"
assert_text 'badge_count', '10'

View file

@ -1,10 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open "/"
click "edit_icon_todo_5"
wait_for_element_present "show_from_todo_5"
type "show_from_todo_5", "1/1/2030"
click "css=#submit_todo_5"
wait_for_element_not_present "todo_5"
assert_text 'badge_count', '10'
wait_for_not_visible "c5"

View file

@ -1,8 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open "/"
wait_for_element_present '//div[@id="line_todo_5"]//img[@alt="Defer one day"]/..'
click '//div[@id="line_todo_5"]//img[@alt="Defer one day"]/..'
wait_for_element_not_present "todo_5"
assert_text 'badge_count', '10'
wait_for_not_visible "c5"

View file

@ -1,5 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open '/'
click "xpath=//div[@id='c1'] //div[@id='todo_9'] //input[@class='item-checkbox']"
wait_for_element_present "xpath=//div[@id='completed_container'] //div[@id='todo_9']"

View file

@ -1,5 +0,0 @@
setup :fixtures => :all
login :as => 'jane'
open '/'
click_and_wait "xpath=//div[@id='c10'] //div[@id='todo_16'] //input[@class='item-checkbox']"
assert_title "TRACKS::Project: Attend RailsConf"

View file

@ -1,5 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open '/'
click "css=#c1 #todo_9 a.star_item"
wait_for_element_present "css=#c1 #todo_9 img.starred_todo"

View file

@ -1,4 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open '/'
assert_element_present "css=#c2 #todo_2 img.unstarred_todo"