Skip to content

Instantly share code, notes, and snippets.

@RobertFischer
Created August 25, 2014 16:50
Show Gist options
  • Save RobertFischer/73267f6bf9a337344b14 to your computer and use it in GitHub Desktop.
Save RobertFischer/73267f6bf9a337344b14 to your computer and use it in GitHub Desktop.
Example of content implementation — Geb
class SamplePage {
static theResultDivImpl = { /* Your impl here */ }
static at = { /* Your basic test here */ && waitFor(theResultDivImpl) }
static content = {
theResultDiv(wait:true, theResultDivImpl)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment