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 eb7f14cdac80de05c06208fec4d70bd1a4e12d52
Author: Carl Marcum <[email protected]>
AuthorDate: Sun Mar 29 09:37:32 2026 -0400

    remove creation of dedicated browser integration tasks from build.
---
 .../geb-testcontainers/geb-testcontainers.gradle   | 35 ++--------------------
 1 file changed, 3 insertions(+), 32 deletions(-)

diff --git a/integration/geb-testcontainers/geb-testcontainers.gradle 
b/integration/geb-testcontainers/geb-testcontainers.gradle
index 557d8807..bf36de40 100644
--- a/integration/geb-testcontainers/geb-testcontainers.gradle
+++ b/integration/geb-testcontainers/geb-testcontainers.gradle
@@ -29,14 +29,6 @@ java {
     targetCompatibility = JavaVersion.VERSION_11
 }
 
-ext {
-    // The drivers we want to use in containers
-    // see https://github.com/SeleniumHQ/docker-selenium
-    // for browsers per platform
-    // drivers = ["firefox", "chrome", "edge"] // no safari container
-    drivers = ["firefox"]
-}
-
 // add integration tests
 sourceSets {
     integrationTest {
@@ -103,31 +95,10 @@ tasks.register('integrationTest', Test) {
     systemProperty('geb.env', System.getProperty('geb.env') ?: 'firefox')
     systemProperty('geb.container.recording.mode', 'RECORD_ALL') // also 
RECORD_FAILING
     // systemProperty('geb.container.recording.restartPerTest', 'false') // 
makes all recording the same
-}
 
-drivers.eachWithIndex { driver, index ->
-    tasks.register("${driver}Test", Test) {
-        group JavaBasePlugin.VERIFICATION_GROUP
-
-        testClassesDirs = sourceSets.integrationTest.output.classesDirs
-        classpath = sourceSets.integrationTest.runtimeClasspath
-
-        testLogging {
-            events 'passed', 'skipped', 'failed'
-        }
-
-        systemProperty('geb.container.recording.mode', 'RECORD_ALL') // also 
RECORD_FAILING
-        systemProperty "geb.build.reportsDir", reporting.file("geb/$name")
-        systemProperty "geb.env", driver
-
-        // Make Geb tests more resilient in slow CI environments
-        if (project.hasProperty('gebAtCheckWaiting')) {
-            systemProperty('geb.container.atCheckWaiting.enabled', 'true')
-        }
-
-        if (index > 0) {
-            mustRunAfter("${drivers[index-1]}Test")
-        }
+    // Make Geb tests more resilient in slow CI environments
+    if (project.hasProperty('gebAtCheckWaiting')) {
+        systemProperty('geb.container.atCheckWaiting.enabled', 'true')
     }
 }
 

Reply via email to