My experience writing automated tests for a SPA
Summary
The author shares a practical account of building an end-to-end test suite for a SPA using Playwright. They emphasize testing the full client-server interaction in a real browser, data isolation tradeoffs, and a heavy emphasis on end-to-end user journeys. The post covers mocks for external services, performance tuning with parallelization, CI integration with Playwright reports, API and email testing tricks, and notes on test reliability and future improvements.