Jelajahi Sumber

Merge pull request #26652 from overleaf/bg-run-e2e-tests-under-wayland

allow running e2e tests under Wayland

GitOrigin-RevId: 281186059300b4012e7f57b963b2577bfd5d0d93
Brian Gough 1 tahun lalu
induk
melakukan
85ecef4d96

+ 1 - 0
server-ce/test/docker-compose.yml

@@ -91,6 +91,7 @@ services:
     volumes:
       - ./:/e2e
       - /tmp/.X11-unix:/tmp/.X11-unix
+      - ${XAUTHORITY:-/dev/null}:/home/node/.Xauthority
     user: "${DOCKER_USER:-1000:1000}"
     environment:
       CYPRESS_SHARD:

+ 1 - 0
services/web/docker-compose.cypress.yml

@@ -4,6 +4,7 @@ services:
     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