Skip to content

Commit

Permalink
#131 - when recording is enabled, always restart the containers
Browse files Browse the repository at this point in the history
  • Loading branch information
jdaugherty committed Feb 11, 2025
1 parent 24477b5 commit 86e2e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spock-container-test-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ java {

tasks.withType(Test).configureEach {
useJUnitPlatform()
systemProperty('grails.geb.recording.mode', 'RECORD_ALL')
//systemProperty('grails.geb.recording.mode', 'RECORD_ALL')
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class WebDriverContainerHolder {
}

boolean matchesCurrentContainerConfiguration(WebDriverContainerConfiguration specConfiguration) {
specConfiguration == currentConfiguration
specConfiguration == currentConfiguration && grailsGebSettings.recordingMode == BrowserWebDriverContainer.VncRecordingMode.SKIP
}

private static int getPort(IMethodInvocation invocation) {
Expand Down

0 comments on commit 86e2e1b

Please sign in to comment.