increase cypress timeout

This commit is contained in:
einhornimmond 2024-11-12 20:45:00 +01:00
parent bd8e326e88
commit c5fcf61154
2 changed files with 2 additions and 4 deletions

View File

@ -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,

View File

@ -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) #