forked from opensearch-project/alerting-dashboards-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcypress.config.js
More file actions
26 lines (25 loc) · 854 Bytes
/
cypress.config.js
File metadata and controls
26 lines (25 loc) · 854 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({
defaultCommandTimeout: 10000,
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) {
config.env.NODE_OPTIONS = '—max-old-space-size=8192';
return require('./.cypress/plugins/index.js')(on, config);
},
specPattern: '.cypress/integration/*.spec.js',
supportFile: '.cypress/support/index.js',
// Performance optimizations
numTestsKeptInMemory: 0,
experimentalMemoryManagement: true,
},
})