cypress.config.js

Summary

Maintainability
A
0 mins
Test Coverage
const { defineConfig } = require("cypress");

module.exports = defineConfig({
  projectId: "oa9mrn",
  fixturesFolder: false,
  viewportWidth: 1200,
  viewportHeight: 1000,
  requestTimeout: 8000,
  defaultCommandTimeout: 8000,
  retries: {
    runMode: 2,
    openMode: 0,
  },
  chromeWebSecurity: false,
  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:3000",
    specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
    excludeSpecPattern: [
      "cypress/e2e/pages/transactions/DfTx/**",
      "cypress/e2e/pages/governance/create/index.spec.ts",
      "cypress/e2e/pages/vaults/[vaultid]/auctions/[index].spec.ts",
      "cypress/e2e/pages/vaults/[vaultid]/index-InLiquidation.spec.ts",
      "cypress/e2e/pages/vaults/[vaultid]/index.spec.ts",
      "cypress/e2e/pages/auctions/index.spec.ts",
    ],
  },
});