Skip to content

Commit

Permalink
Don't hard-code the "geb.env" system property (#107)
Browse files Browse the repository at this point in the history
Otherwise it is not possible to set it on the commandline.
  • Loading branch information
darxriggs committed Mar 10, 2022
1 parent 711093f commit 2a6473b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ webdriverBinaries {
}

tasks.withType(Test) {
systemProperty "geb.env", "chromeHeadless"
systemProperty "geb.env", System.getProperty('geb.env', 'chromeHeadless')
systemProperty "geb.build.reportsDir", reporting.file("geb/integrationTest")

if (!System.getenv().containsKey('GITHUB_ACTIONS')) {
Expand Down

0 comments on commit 2a6473b

Please sign in to comment.