alphagov / consent-api

Service for sharing user consent to cookies across multiple domains
https://consent-api-bgzqvpmbyq-nw.a.run.app
MIT License
8 stars 0 forks source link

fix: e2e tests #233

Open guilhem-fry opened 7 months ago

guilhem-fry commented 7 months ago

The E2E tests setup kept breaking due to there multiple points of failure:

I've ditched Selenium in favour of the Playrwight framework.

Previously, the E2E tests containers had to run its own single consent API. Now, the container for E2E tests only cares about running playwright, enhancing the separation of concern.

Makefile

Because we don't need to manage so many Selenium and migrations parameters anymore, I've simplified the Makefile to the essential commands.

docker-compose

I've also re-organised the docker compose configuration by leveraging YAML inheritance syntax