Last change
on this file since 917 was
917,
checked in by JohnYesberg, 13 years ago
|
Oops... hadn't added these to SVN. Sorry!
|
File size:
540 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: 7:17:32 PM |
---|
10 | * To change this template use File | Settings | File Templates. |
---|
11 | */ |
---|
12 | class HomePage extends Page { |
---|
13 | static url = "http://localhost:8080/gnumims/appCore/start" |
---|
14 | |
---|
15 | static at = { $("div#menu li.navigation_active").text() == "Home" } |
---|
16 | |
---|
17 | static content = { |
---|
18 | message { $("div.body div.message").text() } |
---|
19 | logout(to:LoginPage) { $("a[class=logoutButton]") } |
---|
20 | } |
---|
21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.