Closed vinodreddy-bs closed 1 year ago
What is the host system (the one where you launch docker) where it is failing?
If you are running docker on apple m1 machine, you need to use docker image for aarch64 instead of amd64.
It’s Mac M1. Trying with the above solution
On Thu, 15 Dec 2022 at 11:50 PM, Yury Semikhatsky @.***> wrote:
What is the host system where it is failing?
— Reply to this email directly, view it on GitHub https://github.com/microsoft/playwright/issues/19472#issuecomment-1353521289, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCXZEM6TME6VNCYMLGNAMTWNNOOBANCNFSM6AAAAAAS7TWHGU . You are receiving this because you authored the thread.Message ID: @.***>
Now I am getting, dependency issues for chrome after changing Docker file to FROM --platform=linux/aarch64 mcr.microsoft.com/playwright:v1.27.0-focal
My goal is to run playwright tests on a server in parallel with headful. OS can be Ubuntu. Not sure what's happening here.
without chrome, it worked. What is the best config to run playwright tests on a server in headful?
Did you find the solution to launch the chrome? I am trying to run playwright inside docker. The browser is working fine when running in headless mode but i am unable to view the broswer when running the test cases in headed mode
Context:
I am using playwright with mocha. When running tests locally in parallel everything works fine [headless: false as I am doing chrome extension testing via GUI]
When running the tests in a docker container, it started failing with
browserType.launchPersistentContext: Browser closed.
Dockerfile:
Test Setup --> [I am launching and closing the browser in beforEeach and afterEach functions]
after running tests in parallel inside a container with
xvfb-run --auto-servernum npm run test
, it's throwing the below errorPlease help where I am doing wrong?