Skip to content

Conversation

@guifry
Copy link
Contributor

@guifry guifry commented Feb 16, 2024

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

  • DB migrations
  • Selenium
  • Selenium UI

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

  • Effortlessly runs in Docker
  • Supports Chrome, Webkit and Mozilla out of the box
  • Simpler syntax with Typescript autocompletion

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

@guifry guifry requested a review from nacnudus February 16, 2024 10:06
@guifry guifry force-pushed the guilhemf/fix/e2e-tests branch 2 times, most recently from 7e681de to aa12bab Compare February 16, 2024 10:12
@guifry guifry changed the base branch from main to guilhemf/fix/handle-bad-response-format February 28, 2024 10:17
nacnudus
nacnudus previously approved these changes Feb 28, 2024
@guifry guifry force-pushed the guilhemf/fix/handle-bad-response-format branch 4 times, most recently from 68faff6 to 632d430 Compare March 6, 2024 09:09
Base automatically changed from guilhemf/fix/handle-bad-response-format to main March 6, 2024 09:38
@guifry guifry dismissed nacnudus’s stale review March 6, 2024 09:38

The base branch was changed.

@guifry guifry force-pushed the guilhemf/fix/e2e-tests branch from f69aa94 to 9268a91 Compare March 8, 2024 17:48
@guifry guifry force-pushed the guilhemf/fix/e2e-tests branch 3 times, most recently from 3380d08 to d725a57 Compare March 8, 2024 18:46
@guifry guifry force-pushed the guilhemf/fix/e2e-tests branch from d725a57 to ce6e02a Compare March 8, 2024 18:56
@guifry guifry force-pushed the guilhemf/fix/e2e-tests branch from 176b62e to 2949f13 Compare March 10, 2024 21:23
@guifry guifry force-pushed the guilhemf/fix/e2e-tests branch from 2949f13 to 5e931f2 Compare March 10, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants