Created
May 21, 2012 17:22
-
-
Save rpalcolea/2763396 to your computer and use it in GitHub Desktop.
ShowPage for Geb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pages | |
| class ShowPage extends ScaffoldPage { | |
| static at = { | |
| heading.text() ==~ /Show Proveedor/ | |
| } | |
| static content = { | |
| editButton(to: EditPage) { $("a", text: "Edit") } | |
| deleteButton(to: ListPage) { $("input", value: "Delete") } | |
| row { $("li.fieldcontain span.property-label", text: it).parent() } | |
| value { row(it).find("span.property-value").text() } | |
| nombre { value("Nombre") } | |
| razonSocial { value("Razon Social") } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment