first commit

This commit is contained in:
2025-04-04 08:46:42 +02:00
commit dcc036f65e
9 changed files with 228 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { defineConfig } from "cypress";
import { initPlugin } from "cypress-plugin-snapshots/plugin";
export default defineConfig({
e2e: {
baseUrl: "http://127.0.0.1:5173/",
screenshotOnRunFailure: true, // Capture screenshots on test failure
setupNodeEvents(on, config) {
initPlugin(on, config);
return config;
},
excludeSpecPattern: [
"**/__snapshots__/*",
"**/__image_snapshots__/*"
]
},
screenshotsFolder: "cypress/screenshots"
});