overleaf-cep/services/web/docker-compose.cypress.yml
Brian Gough 85ecef4d96 Merge pull request #26652 from overleaf/bg-run-e2e-tests-under-wayland
allow running e2e tests under Wayland

GitOrigin-RevId: 281186059300b4012e7f57b963b2577bfd5d0d93
2025-07-11 08:07:03 +00:00

15 lines
414 B
YAML

services:
cypress:
image: cypress/included:13.13.2
volumes:
- ../../:/overleaf
- /tmp/.X11-unix:/tmp/.X11-unix
- ${XAUTHORITY:-/dev/null}:/home/node/.Xauthority
working_dir: /overleaf/services/web
entrypoint: npm
command: run cypress:open-ct
user: "${DOCKER_USER:-1000:1000}"
environment:
VERBOSE_LOGGING:
DISPLAY: ${DISPLAY:-:0}
# DEBUG: cypress.*