Have you ever struggled running selenium tests via...
# general
j
Have you ever struggled running selenium tests via Geb with webdriver-binaries due to driver version compatibility, configuration or a myriad of other complexity? Or only firefox/gecko works? Thanks to the hard work of @mattias_reichel and @sbglasius, all of that can be a thing of the past. For Grails 7, Geb 5.0.0-SNAPSHOT now provides a
ContainerGebSpec
class, which can be used in place of
GebSpec
, that automatically runs the browser in a container using Testcontainers. This only requires a compatible container runtime be installed, such as: • Docker DesktopOrbStack - macOS only • Rancher Desktoppodman desktopColima - macOS and Linux You can preview this by cloning the 7.0.x branch on https://github.com/grails/grails-functional-tests.git, starting your container runtime and running
./gradlew build
😄 2
👍 5
❤️ 6
👍🏻 1
partygrails 1