source: branches/features/purchaseOrders/test/functional/gnumims/functional/pages/HomePage.groovy @ 925

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 
1package gnumims.functional.pages
2
3import geb.Page
4
5class 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.