cypress.config.ts 559 B

1234567891011121314151617181920212223
  1. import { defineConfig } from "cypress";
  2. export default defineConfig({
  3. projectId: "k83u7j",
  4. scrollBehavior: false,
  5. video: false,
  6. e2e: {
  7. // We've imported your old cypress plugins here.
  8. // You may want to clean this up later by importing these.
  9. setupNodeEvents(on, config) {
  10. return require("./cypress/plugins/index.js")(on, config);
  11. },
  12. specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
  13. experimentalRunAllSpecs: true,
  14. },
  15. component: {
  16. devServer: {
  17. framework: "react",
  18. bundler: "webpack",
  19. },
  20. },
  21. });