-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcypress.config.js
More file actions
26 lines (25 loc) · 791 Bytes
/
cypress.config.js
File metadata and controls
26 lines (25 loc) · 791 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
const { defineConfig } = require('cypress');
module.exports = defineConfig({
viewportHeight: 900,
viewportWidth: 1440,
defaultCommandTimeout: 60000,
requestTimeout: 300000,
responseTimeout: 300000,
env: {
opensearch_url: 'localhost:9200',
opensearch_dashboards: 'localhost:5601',
security_enabled: false,
},
fixturesFolder: '.cypress/fixtures',
screenshotsFolder: '.cypress/screenshots',
videosFolder: '.cypress/videos',
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);
},
specPattern: '.cypress/integration/*.spec.js',
supportFile: '.cypress/support/index.js',
},
});