source: branches/features/purchaseOrders/test/functional/gnumims/functional/pages/LoginPage.groovy @ 938

Last change on this file since 938 was 938, checked in by gav, 13 years ago

Formatting only.

File size: 374 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.