Have you tried evaluating the property from inside GebConfig, overriding the
default value if the property is present?
waiting {
timeout = System.getProperty("gebNewTimeout")?.toInteger() ?: 30
}
--
Alexander Kriegisch
https://scrum-master.de
Master Automator schrieb am 02.04.2020 05:03 (GM
Thanks Marcin & Alexander. Just to clarify ...
We already have a default value in Geb config:
waiting { timeout = 30 ... }
We can run "gradlew ... specs" and specify a different timeout override
value, say 42 instead of Geb config's default 30 ... like this:
gradlew -DgebNewTimeout=4
That would be my suggestion as well, to put it in your Geb config script.
On Tue, Mar 31, 2020 at 2:06 PM Alexander Kriegisch <
alexan...@kriegisch.name> wrote:
> Have you tried GebConfig.groovy?
> https://gebish.org/manual/current/#default-waiting-configuration
>
> --
> Alexander Kriegisch
> htt
Have you tried GebConfig.groovy?
https://gebish.org/manual/current/#default-waiting-configuration
--
Alexander Kriegisch
https://scrum-master.de
Master Automator schrieb am 31.03.2020 09:13 (GMT +07:00):
> In the Gradle command that runs our Geb specs, we pass in the command
> line a default t
Hello folks,
Hope you are staying safe and doing ok!
In the Gradle command that runs our Geb specs, we pass in the command line
a default timeout for that set of specs.
Currently, we use this parsed cmd line timeout arg in the setupSpec()
method:
- browser.getConfig().setDefaultWaitTimeo