Skip to content

Commit

Permalink
build: install playwright dependencies prior to running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jul 31, 2024
1 parent 3993701 commit b5aa234
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions contrib/playwright/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
timeout: 5s

ui-test:
image: mcr.microsoft.com/playwright:v1.44.1
image: "mcr.microsoft.com/playwright:${PLAYWRIGHT_TAG:-v1.44.1}"
depends_on:
api:
condition: service_healthy
Expand All @@ -53,7 +53,11 @@ services:
volumes:
- ./src/frontend:/app
- /tmp/.X11-unix:/tmp/.X11-unix
command: npm install --legacy-peer-deps && npm run test:e2e
entrypoint: /bin/sh -c
command:
- |
npm install --legacy-peer-deps
npm run test:e2e
ports:
- "9323:9323"
networks:
Expand Down

0 comments on commit b5aa234

Please sign in to comment.