This is an automated email from the ASF dual-hosted git repository. jonnybot pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy-geb.git
commit 057d61fde3e03674e75a8c3befa1cad33d801c0f Author: Carl Marcum <[email protected]> AuthorDate: Sun Mar 29 09:20:11 2026 -0400 rename browser capability for test. --- .../integration-test/groovy/geb/testcontainers/GebConfigSpec.groovy | 2 +- .../src/integration-test/resources/GebConfig.groovy | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/GebConfigSpec.groovy b/integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/GebConfigSpec.groovy index 57a46113..984a415b 100644 --- a/integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/GebConfigSpec.groovy +++ b/integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/GebConfigSpec.groovy @@ -35,7 +35,7 @@ class GebConfigSpec extends ContainerGebSpecWithServer { def capabilities = ((RemoteWebDriver) driver).capabilities then: 'our custom capability set in GebConfig is available' - capabilities.getCapability('grails:gebConfigUsed') == true + capabilities.getCapability('geb:gebConfigUsed') == true and: 'the driver should use the browser from GebConfig.groovy' capabilities.browserName == System.getProperty('geb.env') diff --git a/integration/geb-testcontainers/src/integration-test/resources/GebConfig.groovy b/integration/geb-testcontainers/src/integration-test/resources/GebConfig.groovy index c57519d7..5fab36c6 100644 --- a/integration/geb-testcontainers/src/integration-test/resources/GebConfig.groovy +++ b/integration/geb-testcontainers/src/integration-test/resources/GebConfig.groovy @@ -39,7 +39,7 @@ environments { def firefoxOptions = new FirefoxOptions() // Add a custom capability that we can test for to verify our configuration is being used - firefoxOptions.setCapability('grails:gebConfigUsed', true) + firefoxOptions.setCapability('geb:gebConfigUsed', true) // The remote address will be set by WebDriverContainerHolder via system property // webdriver.remote.server before this closure is called @@ -66,7 +66,7 @@ environments { chromeOptions.setExperimentalOption('prefs', prefs) // Add a custom capability that we can test for to verify our configuration is being used - chromeOptions.setCapability('grails:gebConfigUsed', true) + chromeOptions.setCapability('geb:gebConfigUsed', true) // The remote address will be set by WebDriverContainerHolder via system property // webdriver.remote.server before this closure is called @@ -82,7 +82,7 @@ environments { def edgeOptions = new EdgeOptions() // Add a custom capability that we can test for to verify our configuration is being used - edgeOptions.setCapability('grails:gebConfigUsed', true) + edgeOptions.setCapability('geb:gebConfigUsed', true) // The remote address will be set by WebDriverContainerHolder via system property // webdriver.remote.server before this closure is called
