Last change
on this file since 929 was
925,
checked in by gav, 13 years ago
|
Make functional test URL's dynamic and relative.
|
File size:
373 bytes
|
Rev | Line | |
---|
[917] | 1 | package gnumims.functional.pages |
---|
| 2 | |
---|
| 3 | import geb.Page |
---|
| 4 | |
---|
| 5 | class LoginPage extends Page { |
---|
[925] | 6 | static url = "login/auth" |
---|
[917] | 7 | |
---|
| 8 | static at = {$("h1").text() == "Welcome to gnuMims please log in"} |
---|
| 9 | |
---|
| 10 | static content = { |
---|
| 11 | login { $('#loginForm input[value=Login]') } |
---|
| 12 | form { $("#loginForm")} |
---|
| 13 | password { $("input[name=j_password]").value() } |
---|
| 14 | } |
---|
| 15 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.