-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.ts
32 lines (30 loc) · 1010 Bytes
/
cypress.config.ts
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
import { defineConfig } from "cypress";
import plugin from "./cypress/plugins";
import * as installLogsPrinter from "cypress-terminal-report/src/installLogsPrinter";
// NB: all the paths here must be relative to the root, because that's where Cypress is run from.
export default defineConfig({
projectId: "rxz5ib",
downloadsFolder: "cypress/downloads",
fixturesFolder: "cypress/fixtures",
screenshotsFolder: "cypress/screenshots",
retries: {
runMode: 2,
openMode: 0,
},
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
installLogsPrinter(on, {
printLogsToConsole: "onFail",
});
return plugin(on, config);
},
specPattern: [
"scores-src/cypress/integration/**/*.{js,jsx,ts,tsx}",
"bundle-src/cypress/integration/**/*.{js,jsx,ts,tsx}",
],
supportFile: "cypress/support/index.ts",
baseUrl: "http://localhost:3000",
},
});