diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json new file mode 100644 index 0000000..d0ef97c --- /dev/null +++ b/cypress/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "preserveValueImports": false + } +} diff --git a/docker-compose.cypress.yml b/docker-compose.cypress.yml index 90c9323..86a7aeb 100644 --- a/docker-compose.cypress.yml +++ b/docker-compose.cypress.yml @@ -49,7 +49,8 @@ services: CYPRESS_mongodbUri: mongodb://mongo CYPRESS_tibiApiUrl: http://tibi-server:8080/api/v1 CYPRESS_projectApiConfig: /workdir/api/config.yml - DISPLAY: host.docker.internal:0.0 + #DISPLAY: host.docker.internal:0.0 + DISPLAY: $DISPLAY LIBGL_ALWAYS_INDIRECT: 1 command: sh ./scripts/cy-command.docker.sh $CY_COMMAND #command: yarn cy:$CY_COMMAND @@ -58,5 +59,7 @@ services: volumes: - ./:/workdir - ~/.cache:/home/node/.cache + - $HOME/.Xauthority:$HOME/.Xauthority + - /tmp/.X11-unix:/tmp/.X11-unix working_dir: /workdir user: $CURRENT_UID