Last change
on this file since 925 was
925,
checked in by gav, 13 years ago
|
Make functional test URL's dynamic and relative.
|
File size:
346 bytes
|
Line | |
---|
1 | package gnumims.functional.pages |
---|
2 | |
---|
3 | import geb.Page |
---|
4 | |
---|
5 | class HomePage extends Page { |
---|
6 | static url = "appCore/start" |
---|
7 | |
---|
8 | static at = { $("div#menu li.navigation_active").text() == "Home" } |
---|
9 | |
---|
10 | static content = { |
---|
11 | message { $("div.body div.message").text() } |
---|
12 | logout(to:LoginPage) { $("a[class=logoutButton]") } |
---|
13 | } |
---|
14 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.