microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
66.82k stars 3.66k forks source link

[NEED INFO]: Running component tests with playwright v1.40 using docker image on Mac #28736

Closed bharat7gupta closed 10 months ago

bharat7gupta commented 10 months ago

Context:

Describe the bug

I am using playwright v1.30 to run component tests on Mac using docker image. I had set PLAYWRIGHT_DOCKER to "true" as a flag for the integration between playwright and docker (as mentioned in this PR description). I am currently trying to upgrade to v1.40 but I don't see that flag being consumed anymore.

I was looking at the source code of v1.30 and could see files like docker, dockerApi, dockerPlugin but these seem to be removed in v1.40.

I am not sure how I can ensure that my tests are run on an ubuntu docker image (in Mac). Is this still possible? How can I make this work?

yury-s commented 10 months ago

Experimental docker command has never been released and was removed. You can still run our docker images and run docker commands directly.