I don't write end-to-end (e2e) tests
I don't write end-to-end (e2e) tests.
Instead, I write integration tests against realistic mock APIs.
With comprehensive tests against a mock API, there's only one way a bug can slip into prod: The mock API doesn't match the real API.
When that happens, I fix the mock API.