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
|
Rev | Line | |
---|
[917] | 1 | package gnumims.functional.pages |
---|
| 2 | |
---|
| 3 | import geb.Page |
---|
| 4 | |
---|
[925] | 5 | class HomePage extends Page { |
---|
| 6 | static url = "appCore/start" |
---|
[917] | 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.