@centreon/js-config 23.10.39 → 23.10.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,7 +25,7 @@ export default ({
|
|
|
25
25
|
dockerName,
|
|
26
26
|
env
|
|
27
27
|
}: ConfigurationOptions): Cypress.ConfigOptions => {
|
|
28
|
-
const resultsFolder = `${cypressFolder || '
|
|
28
|
+
const resultsFolder = `${cypressFolder || '.'}/results`;
|
|
29
29
|
|
|
30
30
|
const webImageVersion = execSync('git rev-parse --abbrev-ref HEAD')
|
|
31
31
|
.toString('utf8')
|
|
@@ -36,6 +36,7 @@ export default ({
|
|
|
36
36
|
defaultCommandTimeout: 6000,
|
|
37
37
|
e2e: {
|
|
38
38
|
excludeSpecPattern: ['*.js', '*.ts', '*.md'],
|
|
39
|
+
fixturesFolder: 'fixtures',
|
|
39
40
|
reporter: require.resolve('cypress-multi-reporters'),
|
|
40
41
|
reporterOptions: {
|
|
41
42
|
configFile: `${__dirname}/reporter-config.js`
|
|
@@ -47,7 +48,8 @@ export default ({
|
|
|
47
48
|
|
|
48
49
|
return plugins(on, config);
|
|
49
50
|
},
|
|
50
|
-
specPattern
|
|
51
|
+
specPattern,
|
|
52
|
+
supportFile: 'support/e2e.{js,jsx,ts,tsx}'
|
|
51
53
|
},
|
|
52
54
|
env: {
|
|
53
55
|
...env,
|
package/package.json
CHANGED