E2eTests

Recently I have been working with some e2e tests. These run inside the ci build and all external services are mocked and dockerised.

Given the frontend is typescript and has an Elixir backend this is the only point we can test the integration of the two.

The existing system uses Cypress. This has been slow and unreliable. We sometimes get errors that we cannot manually recreate.

I have been working on moving to Playwright. We lose the gherkin format but gain faster more reliable tests.

I have just found https://github.com/HamedStack/HamedStack.Playwright.Screenplay which provides some abstractions to help the testing.

Leave a comment