Sign inSign up

amadosaladino/playwright

By amadosaladino

•Updated almost 5 years ago

playwright test with docker compose

Image
0

246

amadosaladino/playwright repository overview

⁠Overview

Running playwright tests in containers, either in separate containers or combined together in docker-compose

⁠Run in a single container

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

seccomp file is available in the project repo⁠

⁠Report container

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

docker-compose up -d
⁠Regression test
docker-compose start test
⁠Test report
http://localhost:81
http://localhost:82

Tag summary

Content type

Image

Digest

Size

683.4 MB

Last updated

almost 5 years ago

docker pull amadosaladino/playwright:v1