From c5fcf61154ecf902d82fc120f211f3336ab8be4b Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Tue, 12 Nov 2024 20:45:00 +0100 Subject: [PATCH] increase cypress timeout --- e2e-tests/cypress.config.ts | 2 +- frontend/Dockerfile | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/e2e-tests/cypress.config.ts b/e2e-tests/cypress.config.ts index fd6caa069..3251f379c 100644 --- a/e2e-tests/cypress.config.ts +++ b/e2e-tests/cypress.config.ts @@ -35,7 +35,7 @@ export default defineConfig({ excludeSpecPattern: '*.js', baseUrl: 'http://localhost:3000', chromeWebSecurity: false, - defaultCommandTimeout: 10000, + defaultCommandTimeout: 100000, supportFile: 'cypress/support/index.ts', viewportHeight: 720, viewportWidth: 1280, diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 6acd4f268..6f6cc0e9e 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -75,10 +75,8 @@ FROM build as test # Install Additional Software RUN apk add --no-cache bash jq -RUN yarn run build - # Run command -CMD /bin/sh -c "yarn run start" +CMD /bin/sh -c "yarn run dev" ################################################################################## # PRODUCTION (Does contain only "binary"- and static-files to reduce image size) #