mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 11:10:12 +01:00
Rough selenium test files
with good names
This commit is contained in:
parent
e17c1e1644
commit
d5c16db975
3 changed files with 24 additions and 0 deletions
7
test/selenium/login/_cas_first_admin.rsel
Normal file
7
test/selenium/login/_cas_first_admin.rsel
Normal 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"
|
||||
11
test/selenium/login/_cas_first_normal_user.rsel
Normal file
11
test/selenium/login/_cas_first_normal_user.rsel
Normal 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"
|
||||
6
test/selenium/login/_cas_normal_user_login.rsel
Normal file
6
test/selenium/login/_cas_normal_user_login.rsel
Normal 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']"
|
||||
Loading…
Add table
Add a link
Reference in a new issue