forked from Ultimate-Multisite/ultimate-multisite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcypress.config.js
More file actions
29 lines (28 loc) · 816 Bytes
/
cypress.config.js
File metadata and controls
29 lines (28 loc) · 816 Bytes
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
const { defineConfig } = require("cypress");
module.exports = defineConfig({
viewportWidth: 1000,
viewportHeight: 600,
fileServerFolder: "tests/e2e/cypress",
fixturesFolder: "tests/e2e/cypress/fixtures",
downloadsFolder: "tests/e2e/cypress/downloads",
screenshotsFolder: "tests/e2e/cypress/screenshots",
videosFolder: "tests/e2e/cypress/videos",
video: true,
retries: {
runMode: 1,
openMode: 0,
},
e2e: {
specPattern: "tests/e2e/cypress/integration/**/*.{js,jsx,ts,tsx}",
supportFile: "tests/e2e/cypress/support/e2e.js",
baseUrl: "http://localhost:8889",
defaultCommandTimeout: 20000,
requestTimeout: 30000,
responseTimeout: 30000,
pageLoadTimeout: 60000,
setupNodeEvents(on, config) {},
},
env: {
MAILPIT_URL: "http://localhost:8025",
},
});