source: branches/features/purchaseOrders/test/functional/gnumims/functional/pages/LoginPage.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: 373 bytes
Line 
1package gnumims.functional.pages
2
3import geb.Page
4
5class LoginPage extends Page {
6    static url = "login/auth"
7
8    static at = {$("h1").text() == "Welcome to gnuMims please log in"}
9
10    static content = {
11        login { $('#loginForm input[value=Login]') }
12        form { $("#loginForm")}
13        password { $("input[name=j_password]").value() }
14    }
15}
Note: See TracBrowser for help on using the repository browser.