Last change
on this file since 925 was
925,
checked in by gav, 14 years ago
|
Make functional test URL's dynamic and relative.
|
File size:
373 bytes
|
Line | |
---|
1 | package gnumims.functional.pages |
---|
2 | |
---|
3 | import geb.Page |
---|
4 | |
---|
5 | class LoginPage extends Page { |
---|
6 | static url = "login/auth" |
---|
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.