Rough selenium test files

with good names
This commit is contained in:
Erik Ordway 2009-12-11 12:28:15 -08:00 committed by Eric Allen
parent e17c1e1644
commit d5c16db975
3 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,7 @@
open :controller => 'login'
type "username", username
type "password", password
click "//input[@value='Login']"
wait_for_page_to_load "30000"
click "signup"
wait_for_page_to_load "30000"

View file

@ -0,0 +1,11 @@
open :controller => 'login'
click "link=Login"
wait_for_page_to_load "30000"
type "username", username
type "password", password
click "//input[@value='Login']"
wait_for_page_to_load "30000"
click "link=Request Account"
wait_for_page_to_load "30000"
click "signup"
wait_for_page_to_load "30000"

View file

@ -0,0 +1,6 @@
open :controller => 'login'
click "link=Login"
wait_for_page_to_load "30000"
type "username", username
type "password", password
click "//input[@value='Login']"