Files
MSE-SoftwEng/web-app/cypress.config.ts
fastium c5efa10f1a test(web-app): add test end2end
- it implements a 1st version of it
2025-06-08 22:31:46 +02:00

23 lines
585 B
TypeScript

import { defineConfig } from "cypress";
export default defineConfig({
e2e: {
specPattern: "tests/e2e/*.spec.ts",
baseUrl: "http://localhost:8080",
supportFile: "tests/support/e2e.ts",
// Don't skip server checks - we want to ensure the app is running
// Wait up to 10 seconds for the server to be available
defaultCommandTimeout: 10000,
requestTimeout: 10000,
responseTimeout: 10000,
pageLoadTimeout: 30000,
},
component: {
devServer: {
framework: "vue",
bundler: "webpack",
},
specPattern: "src/**/*.cy.ts",
},
});