Last change
on this file since 917 was
917,
checked in by JohnYesberg, 14 years ago
|
Oops... hadn't added these to SVN. Sorry!
|
File size:
566 bytes
|
Line | |
---|
1 | package gnumims.functional.pages |
---|
2 | |
---|
3 | import geb.Page |
---|
4 | |
---|
5 | /** |
---|
6 | * Created by IntelliJ IDEA. |
---|
7 | * User: John |
---|
8 | * Date: 26/04/2011 |
---|
9 | * Time: 2:03:04 PM |
---|
10 | * To change this template use File | Settings | File Templates. |
---|
11 | */ |
---|
12 | class LoginPage extends Page { |
---|
13 | static url = "http://localhost:8080/gnumims/login/auth" |
---|
14 | |
---|
15 | static at = {$("h1").text() == "Welcome to gnuMims please log in"} |
---|
16 | |
---|
17 | static content = { |
---|
18 | login { $('#loginForm input[value=Login]') } |
---|
19 | form { $("#loginForm")} |
---|
20 | password { $("input[name=j_password]").value() } |
---|
21 | } |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.