Running tests in frontend and collections does not work
Two unrelated issues prevent the tests (e.g. govuk-docker run frontend-lite bundle exec rake) from being run.
Issue 1
Branch names were changed from master to main. Because of that pact tests fail.
I had to add an environment variable -e PACT_CONSUMER_VERSION=branch-main when running govuk docker for tests.
Issue 2
Recent updates to selenium prevent running tests which require it. Selenium now automatically downloads the browsers that it uses, which generates an error related to version mismatch.
I had to remove the downloaded browser govuk-docker run --rm collections-lite rm -Rf /root/.cache/selenium and then use an environment variable -e SE_AVOID_BROWSER_DOWNLOAD=true when running govuk-docker for tests so it is not downloaded again.