This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
Not really, we manage a workaround with docker-compose for now.
Describe the solution you'd like
I would like to be able to run a server (https://github.com/playwright-community/jest-playwright#start-a-server) as a docker image. I got the tests running by specifying
command: "docker run ${IMAGE}:${TAG} -p 3000:3000"
But jest-playwright isn't able to stop the process after the tests are done with the message
Jest did not exit one second after the test run has completed.
If possible I would like to have a tearDownServer option where I could kill off the docker processes myself.
Describe alternatives you've considered
I've tried to include the setup objects from https://github.com/playwright-community/jest-process-manager but didn't understand how they would cooperate with jest-playwright.config.js. Maybe it's just me being confused over configuration setup?