-
Notifications
You must be signed in to change notification settings - Fork 17
/
cypress.config.js
32 lines (31 loc) · 1 KB
/
cypress.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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",
],
},
});