Skip to content

Commit 6d84c2a

Browse files
committed
feat: configure Playwright service to allow running in headed mode
make environment variables available so that the DISPLAY variable can be specified for the host platform, and mount the XServer Unix socket.
1 parent efcf709 commit 6d84c2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ services:
4646
build:
4747
context: .
4848
dockerfile: tests/playwright/Dockerfile
49+
env_file: .env
4950
image: benefits_client:playwright
5051
volumes:
5152
- ./tests/playwright:/playwright
53+
- /tmp/.X11-unix:/tmp/.X11-unix
5254
command: ./run.sh

0 commit comments

Comments
 (0)