forked from kyma-project/busola
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress-smoke.js
41 lines (40 loc) · 1.21 KB
/
cypress-smoke.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
33
34
35
36
37
38
39
40
41
const { defineConfig } = require('cypress');
module.exports = defineConfig({
includeShadowDom: true,
defaultCommandTimeout: 10000,
execTimeout: 10000,
taskTimeout: 10000,
pageLoadTimeout: 10000,
requestTimeout: 10000,
responseTimeout: 10000,
fixturesFolder: 'fixtures',
chromeWebSecurity: false,
viewportWidth: 1500,
video: true,
viewportHeight: 1500,
videoCompression: false,
scrollBehavior: false,
screenshotsFolder: process?.env?.ARTIFACTS
? `${process.env?.ARTIFACTS}/screenshots`
: 'cypress/screenshots',
videosFolder: process?.env?.ARTIFACTS
? `${process.env?.ARTIFACTS}/videos`
: 'cypress/videos',
experimentalInteractiveRunEvents: true,
numTestsKeptInMemory: 0,
e2e: {
testIsolation: false,
experimentalRunAllSpecs: true,
setupNodeEvents(on, config) {
return require('./plugins')(on, config);
},
specPattern: [
'tests/kyma-cluster/test-check-extensions.spec.js',
'tests/kyma-namespace/a-run-before.spec.js',
'tests/kyma-namespace/test-smoke-service-management.spec.js',
'tests/kyma-namespace/test-check-extensions.spec.js',
'tests/kyma-namespace/z-run-after.spec.js',
],
supportFile: 'support/index.js',
},
});