first commit
This commit is contained in:
18
e2e/cypress.config.mjs
Normal file
18
e2e/cypress.config.mjs
Normal 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"
|
||||
});
|
||||
Reference in New Issue
Block a user