commit | e9979a90f827818e85ec4b7f4f23916d84cfc9cc | [log] [tgz] |
---|---|---|
author | Sergio del Amo <sergio.delamo@softamo.com> | Wed Feb 20 06:55:19 2019 +0100 |
committer | Sergio del Amo <sergio.delamo@softamo.com> | Wed Feb 20 06:56:43 2019 +0100 |
tree | 4e14ab5ff2b240ca0070ed3800673cc495500e72 | |
parent | b314fb8f2f6d58ced6a07f20e48ae3b6ec9bff14 [diff] |
Bump up Geb from 2.3 to 2.3.1
Geb Functional Testing for Grails 3.0
This plugin just provides the Geb dependencies and a create-functional-test
command for generating Geb tests in a Grails 3.0 app. For further reference please see the Geb documentation
## Examples
If you are looking for examples check:
or Grails 3.x functional test suite where Geb tests are used extensively.
To setup additional drivers you need to add the driver to your build.gradle
for example:
testRuntime 'com.github.detro:phantomjsdriver:1.2.0'
Then you need to create a GebConfig.groovy
file to your src/test/resources/
directory. For example:
/* This is the Geb configuration file. See: http://www.gebish.org/manual/current/#configuration */ import org.openqa.selenium.chrome.ChromeDriver import org.openqa.selenium.firefox.FirefoxDriver import org.openqa.selenium.phantomjs.PhantomJSDriver waiting { timeout = 2 } driver = { new PhantomJSDriver() }