This is an automated email from the ASF dual-hosted git repository.
jonnybot pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git
from b4648fc8 Bump gradle/actions from 5 to 6
new 2b3e46c3 initial import of testcontainers code
new b77e8755 add rat excludes for test resources
new b59667ba add and update selenium and testcontainers dependencies
new d43aa774 add geb-testcontainers to modules
new 84638186 add README.md with a temporary section.
new fe45834c change chrome testcontainer to firefox for macOS testers.
new 8f158776 fix codenarc violations.
new 72b0a7b4 fix codenarc violations.
new 39984409 remove codenarc issue from the temporary section of README.md.
new 555a47d3 add Dockerfile that includes Docker. separate
docker-entrypoint from build-in-docker.sh and add starting Docker daemon.
new 2ba2863d make container interactive and fix circleci user permissions.
new 6e819a0a remove plugin
new 0903232b fix container networking.
new 9ea08147 fix container networking.
new c7ddeac6 fix codenarc violations.
new f6c8ce71 rename files containing Grails.
new a184185a remove unneeded testcontainer setting from dockerfile.
new 5fce0894 rename grails system properties.
new 36b0052f add container building section.
new c9ca9a43 rename geb-testontainers packages to geb.testcontainers
new 471539a4 Refactor test containers to use base class pattern
new c7f2e96e Fix integration test task to run and accept specific tests
new 74fa3721 Attempt to fix flaky test
new d1a35ca7 Use annotation-driven configuration
new 5aa9e356 fix codenarc violations
new 4abec4bf add firefox as default geb.env for integrationTest
new 057d61fd rename browser capability for test.
new eb7f14cd remove creation of dedicated browser integration tasks from
build.
new c4a40562 revert changes to build-in-docker.sh and delete dockerfile
and docker-entrypoint.sh.
new 06e58909 revert changes to browser in real-browser test config. add
license headers to test asset and resource files. update byte sizes in tests.
new 19698eb0 revert rat excludes for test resources in geb-containers.
The 31 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CONTRIBUTING.md | 23 ++
geb.gradle | 1 +
gradle/libs.versions.toml | 10 +-
integration/geb-testcontainers/README.md | 228 +++++++++++
.../geb-testcontainers/geb-testcontainers.gradle | 110 +++++
.../BaseUrlConfigFromClassSpec.groovy | 33 +-
.../ContainerFileDetectorAnnotationSpec.groovy | 45 ++
.../ContainerFileDetectorDefaultSpec.groovy | 41 +-
.../ContainerFileDetectorSpockSpec.groovy | 49 +++
.../ContainerGebSpecWithServer.groovy | 22 +-
.../geb/testcontainers/DownloadSupportSpec.groovy | 31 +-
.../groovy/geb/testcontainers/GebConfigSpec.groovy | 67 +++
.../HostNameConfigurationSpec.groovy | 46 +++
.../geb/testcontainers/InheritedConfigSpec.groovy | 117 ++++++
.../geb/testcontainers/PageDelegateSpec.groovy | 17 +-
.../geb/testcontainers/PerTestRecordingSpec.groovy | 98 +++++
.../testcontainers/PortConfigFromClassSpec.groovy | 56 +++
.../groovy/geb/testcontainers/RootPageSpec.groovy | 47 +--
.../geb/testcontainers/TestFileServer.groovy | 65 +++
.../geb/testcontainers/TestFileServerSpec.groovy | 56 +++
.../groovy/geb/testcontainers/UploadSpec.groovy | 111 +++++
.../geb/testcontainers/pages/HomePage.groovy | 12 +-
.../geb/testcontainers/pages/UploadPage.groovy | 18 +-
.../testcontainers/pages/UploadSuccessPage.groovy | 14 +-
.../integration-test/resources/GebConfig.groovy | 108 +++++
.../resources/assets/upload-test.txt | 17 +
.../integration-test/resources/static/index.html | 20 +-
.../resources/static/upload-success.html | 20 +-
.../integration-test/resources/static/upload.html | 33 +-
.../testcontainers/ContainerFileDetector.groovy | 26 +-
.../ContainerGebConfiguration.groovy | 84 ++++
.../testcontainers/ContainerGebExtension.groovy | 136 +++++++
.../geb/testcontainers/ContainerGebSpec.groovy | 149 +++++++
.../ContainerGebTestDescription.groovy | 49 +++
.../DefaultContainerFileDetector.groovy | 25 +-
.../geb/testcontainers/GebContainerSettings.groovy | 113 ++++++
.../geb/testcontainers/GebOnFailureReporter.groovy | 21 +-
.../testcontainers/GebRecordingTestListener.groovy | 77 ++++
.../testcontainers/WebDriverContainerHolder.groovy | 451 +++++++++++++++++++++
.../support/ContainerGebFileInputSource.groovy | 52 +++
.../support/LocalhostDownloadSupport.groovy | 55 +++
...ockframework.runtime.extension.IGlobalExtension | 1 +
.../geb/testcontainers/BaseUrlConfigSpec.groovy | 31 +-
.../src/test/resources/GebConfig.groovy | 36 +-
internal/test-support/test-support.gradle | 4 +
settings.gradle | 1 +
46 files changed, 2624 insertions(+), 202 deletions(-)
create mode 100644 integration/geb-testcontainers/README.md
create mode 100644 integration/geb-testcontainers/geb-testcontainers.gradle
copy doc/manual-snippets/src/test/groovy/configuration/FunctionalSpec.groovy
=>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/BaseUrlConfigFromClassSpec.groovy
(56%)
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/ContainerFileDetectorAnnotationSpec.groovy
copy doc/manual-snippets/src/test/groovy/modules/SearchInputSnippetSpec.groovy
=>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/ContainerFileDetectorDefaultSpec.groovy
(50%)
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/ContainerFileDetectorSpockSpec.groovy
copy module/geb-exceptions/src/main/groovy/geb/error/GebException.groovy =>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/ContainerGebSpecWithServer.groovy
(68%)
copy
module/geb-core/src/test/groovy/geb/conf/QuitDriverOnBrowserResetConfigScriptSpec.groovy
=>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/DownloadSupportSpec.groovy
(59%)
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/GebConfigSpec.groovy
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/HostNameConfigurationSpec.groovy
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/InheritedConfigSpec.groovy
copy module/geb-core/src/main/groovy/geb/WithWindowConfiguration.groovy =>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/PageDelegateSpec.groovy
(71%)
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/PerTestRecordingSpec.groovy
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/PortConfigFromClassSpec.groovy
copy module/geb-junit4/geb-junit4.gradle =>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/RootPageSpec.groovy
(50%)
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/TestFileServer.groovy
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/TestFileServerSpec.groovy
create mode 100644
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/UploadSpec.groovy
copy doc/site/src/test/groovy/geb/pages/NotFoundPage.groovy =>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/pages/HomePage.groovy
(81%)
copy doc/site/src/test/groovy/geb/pages/MainPage.groovy =>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/pages/UploadPage.groovy
(71%)
copy doc/site/src/test/groovy/geb/pages/ApiPage.groovy =>
integration/geb-testcontainers/src/integration-test/groovy/geb/testcontainers/pages/UploadSuccessPage.groovy
(79%)
create mode 100644
integration/geb-testcontainers/src/integration-test/resources/GebConfig.groovy
create mode 100644
integration/geb-testcontainers/src/integration-test/resources/assets/upload-test.txt
copy buildSrc/src/main/groovy/geb.coordinates.gradle =>
integration/geb-testcontainers/src/integration-test/resources/static/index.html
(71%)
copy buildSrc/src/main/groovy/geb.coordinates.gradle =>
integration/geb-testcontainers/src/integration-test/resources/static/upload-success.html
(72%)
copy buildSrc/src/main/groovy/geb.dockerised-test.gradle =>
integration/geb-testcontainers/src/integration-test/resources/static/upload.html
(56%)
copy
module/geb-core/src/main/groovy/geb/navigator/factory/DefaultInnerNavigatorFactory.groovy
=>
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/ContainerFileDetector.groovy
(59%)
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/ContainerGebConfiguration.groovy
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/ContainerGebExtension.groovy
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/ContainerGebSpec.groovy
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/ContainerGebTestDescription.groovy
copy
module/geb-core/src/main/groovy/geb/error/WebStorageNotSupportedException.groovy
=>
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/DefaultContainerFileDetector.groovy
(60%)
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/GebContainerSettings.groovy
copy module/geb-spock/src/main/groovy/geb/spock/OnFailureReporter.groovy =>
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/GebOnFailureReporter.groovy
(75%)
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/GebRecordingTestListener.groovy
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/WebDriverContainerHolder.groovy
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/support/ContainerGebFileInputSource.groovy
create mode 100644
integration/geb-testcontainers/src/main/groovy/geb/testcontainers/support/LocalhostDownloadSupport.groovy
create mode 100644
integration/geb-testcontainers/src/main/resources/META-INF/services/org.spockframework.runtime.extension.IGlobalExtension
copy doc/manual-snippets/src/test/groovy/configuration/FunctionalSpec.groovy
=>
integration/geb-testcontainers/src/test/groovy/geb/testcontainers/BaseUrlConfigSpec.groovy
(58%)
copy {doc/manual-snippets/real-browser =>
integration/geb-testcontainers}/src/test/resources/GebConfig.groovy (52%)