designcourse icon indicating copy to clipboard operation
designcourse copied to clipboard

👷 change e2e implementation for workers

Open mormubis opened this issue 3 months ago • 2 comments

Motivation

The initial implementation of Worker E2E tests was somewhat tied to our specific use case and will not scale if we need to test different scenarios within the Worker environment.

Changes

It introduces a version of withWorker that automatically sets up the logs inside the worker. We can also pass an implementation, similar to what we do with withLogs and withBody.

Test instructions

All e2e still passed.

Checklist

  • [X] Tested locally
  • [ ] Tested on staging
  • [ ] Added unit tests for this change.
  • [X] Added e2e/integration tests for this change.

mormubis avatar Oct 06 '25 10:10 mormubis