playwright test with docker compose
246
Running playwright tests in containers, either in separate containers or combined together in docker-compose
docker run -d -v $PWD:/app -v test-report:/report -v /app/node_modules --ipc=host --security-opt seccomp=seccomp_profile.json amadosaladino/playwright:v1
seccomp file is available in the project repo
docker run -d -v test-report:/usr/share/nginx/html -p 81:80 nginx:1.14
docker run -d -p 82:80 -v $PWD/screenshots:/Pictures:ro ghcr.io/linuxserver/photoshow
docker-compose up -d
docker-compose start test
http://localhost:81
http://localhost:82
Content type
Image
Digest
Size
683.4 MB
Last updated
almost 5 years ago
docker pull amadosaladino/playwright:v1