25 lines
595 B
TypeScript
25 lines
595 B
TypeScript
import { defineConfig } from "cypress";
|
|
|
|
export default defineConfig({
|
|
videosFolder: "cypress/videos",
|
|
screenshotsFolder: "cypress/screenshots",
|
|
fixturesFolder: "cypress/fixtures",
|
|
|
|
e2e: {
|
|
// We've imported your old cypress plugins here.
|
|
// You may want to clean this up later by importing these.
|
|
setupNodeEvents(on, config) {
|
|
return require("./cypress/plugins/index.ts")(on, config);
|
|
},
|
|
baseUrl: "http://localhost:4200",
|
|
},
|
|
|
|
component: {
|
|
devServer: {
|
|
framework: "angular",
|
|
bundler: "webpack",
|
|
},
|
|
specPattern: "**/*.cy.ts",
|
|
},
|
|
});
|