mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-07 01:38:50 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
6
test/selenium/project_listing/delete.rsel
Normal file
6
test/selenium/project_listing/delete.rsel
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
open "/projects"
|
||||
click "css=#project_2 .buttons img.delete_item"
|
||||
assert_confirmation "Are you sure that you want to delete the project 'Make more money than Billy Gates'?"
|
||||
wait_for_element_not_present "project_2"
|
||||
17
test/selenium/project_listing/edit_then_delete.rsel
Normal file
17
test/selenium/project_listing/edit_then_delete.rsel
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
open "/projects"
|
||||
click "css=#project_2 .buttons img.edit_item"
|
||||
wait_for_visible "edit_project_2"
|
||||
wait_for_not_visible "project_2"
|
||||
type "//div[@id='edit_project_2'] //input[@name='project[name]']", "become a billionaire"
|
||||
click "//div[@id='edit_project_2'] //button"
|
||||
wait_for_not_visible "edit_project_2"
|
||||
wait_for_visible "project_2"
|
||||
wait_for_visible "flash"
|
||||
wait_for_not_visible "flash"
|
||||
click "css=#project_2 .buttons img.delete_item"
|
||||
assert_confirmation "Are you sure that you want to delete the project 'become a billionaire'?"
|
||||
wait_for_visible "flash"
|
||||
assert_text "flash", "Deleted project 'become a billionaire'"
|
||||
wait_for_element_not_present "project_2"
|
||||
19
test/selenium/project_listing/edit_twice.rsel
Normal file
19
test/selenium/project_listing/edit_twice.rsel
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
setup :fixtures => :all
|
||||
login :as => 'admin'
|
||||
open "/projects"
|
||||
click "css=#project_2 .buttons img.edit_item"
|
||||
wait_for_visible "edit_project_2"
|
||||
wait_for_not_visible "project_2"
|
||||
type "//div[@id='edit_project_2'] //input[@name='project[name]']", "become a billionaire"
|
||||
click "//div[@id='edit_project_2'] //button"
|
||||
wait_for_not_visible "edit_project_2"
|
||||
wait_for_visible "project_2"
|
||||
assert_text 'css=#project_2 .data a', 'become a billionaire'
|
||||
click "css=#project_2 .buttons img.edit_item"
|
||||
wait_for_visible "edit_project_2"
|
||||
wait_for_not_visible "project_2"
|
||||
type "//div[@id='edit_project_2'] //input[@name='project[name]']", "become a multi-millionaire"
|
||||
click "//div[@id='edit_project_2'] //button"
|
||||
wait_for_not_visible "edit_project_2"
|
||||
wait_for_visible "project_2"
|
||||
assert_text 'css=#project_2 .data a', 'become a multi-millionaire'
|
||||
Loading…
Add table
Add a link
Reference in a new issue