source:
branches/features/purchaseOrders/test/functional/gnumims/functional/pages/LoginPage.groovy
@
938
Last change on this file since 938 was 938, checked in by , 13 years ago | |
---|---|
File size: 374 bytes |
Rev | Line | |
---|---|---|
[917] | 1 | package gnumims.functional.pages |
2 | ||
3 | import geb.Page | |
4 | ||
5 | class LoginPage extends Page { | |
[925] | 6 | static url = "login/auth" |
[917] | 7 | |
8 | static at = {$("h1").text() == "Welcome to gnuMims please log in"} | |
9 | ||
10 | static content = { | |
11 | login { $('#loginForm input[value=Login]') } | |
[938] | 12 | form { $("#loginForm") } |
[917] | 13 | password { $("input[name=j_password]").value() } |
14 | } | |
15 | } |
Note: See TracBrowser
for help on using the repository browser.