Last change
on this file since 952 was
947,
checked in by gav, 13 years ago
|
Enhance and refactor functional tests to use pageId (for at{} verify) in main.gsp layout.
|
File size:
329 bytes
|
Line | |
---|
1 | package gnumims.functional.pages |
---|
2 | |
---|
3 | class LogoutPage extends GrailsPage { |
---|
4 | static controller = "login" |
---|
5 | static action = "loggedOut" |
---|
6 | |
---|
7 | static content = { |
---|
8 | message { $("div.login_message").text() } |
---|
9 | } |
---|
10 | |
---|
11 | def verifyLogoutMessage() { |
---|
12 | assert message == "Successfully logged out" |
---|
13 | return true |
---|
14 | } |
---|
15 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.