test(web-app): add e2e fetch process

It tests the normal request case of timeserie
This commit is contained in:
fastium
2025-06-13 19:45:13 +02:00
parent e26e7722f9
commit bd503d5641
14 changed files with 93 additions and 625 deletions

View File

@@ -2,21 +2,8 @@ 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",
setupNodeEvents(on, config) {
// implement node event listeners here
},
specPattern: "src/**/*.cy.ts",
},
});