@centreon/js-config 23.10.1-display-current-step.2 → 23.10.1-display-pretty-output.0
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.
package/cypress/e2e/commands.ts
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
import './commands/configuration';
|
|
4
4
|
import './commands/monitoring';
|
|
5
5
|
|
|
6
|
+
import installLogsCollector from 'cypress-terminal-report/src/installLogsCollector';
|
|
7
|
+
|
|
8
|
+
installLogsCollector();
|
|
9
|
+
|
|
6
10
|
const apiLoginV2 = '/centreon/authentication/providers/configurations/local';
|
|
7
11
|
|
|
8
12
|
const artifactIllegalCharactersMatcher = /[,\s/|<>*?:"]/g;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { execSync } from 'child_process';
|
|
5
5
|
|
|
6
6
|
import { defineConfig } from 'cypress';
|
|
7
|
+
import installLogsPrinter from 'cypress-terminal-report/src/installLogsPrinter';
|
|
7
8
|
|
|
8
9
|
import esbuildPreprocessor from './esbuild-preprocessor';
|
|
9
10
|
import plugins from './plugins';
|
|
@@ -35,11 +36,12 @@ export default ({
|
|
|
35
36
|
defaultCommandTimeout: 6000,
|
|
36
37
|
e2e: {
|
|
37
38
|
excludeSpecPattern: ['*.js', '*.ts', '*.md'],
|
|
38
|
-
reporter: 'cypress-multi-reporters',
|
|
39
|
+
reporter: require.resolve('cypress-multi-reporters'),
|
|
39
40
|
reporterOptions: {
|
|
40
41
|
configFile: `${__dirname}/reporter-config.js`
|
|
41
42
|
},
|
|
42
43
|
setupNodeEvents: async (on, config) => {
|
|
44
|
+
installLogsPrinter(on);
|
|
43
45
|
await esbuildPreprocessor(on, config);
|
|
44
46
|
tasks(on);
|
|
45
47
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@centreon/js-config",
|
|
3
3
|
"description": "Centreon Frontend shared build configuration",
|
|
4
|
-
"version": "23.10.1-display-
|
|
4
|
+
"version": "23.10.1-display-pretty-output.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/centreon/centreon-frontend.git"
|
|
@@ -16,16 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/centreon/centreon-frontend/issues"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@badeball/cypress-cucumber-preprocessor": "^18.0.6",
|
|
20
|
-
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.0",
|
|
21
|
-
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
22
|
-
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
23
19
|
"@tsconfig/node16": "^16.1.1",
|
|
24
|
-
"@types/cypress-cucumber-preprocessor": "^4.0.2",
|
|
25
|
-
"@types/dockerode": "^3.3.19",
|
|
26
|
-
"cypress-multi-reporters": "^1.6.3",
|
|
27
|
-
"dockerode": "^3.3.5",
|
|
28
|
-
"esbuild": "^0.19.3",
|
|
29
20
|
"eslint": "^8.17.0",
|
|
30
21
|
"eslint-config-airbnb": "19.0.4",
|
|
31
22
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -51,5 +42,18 @@
|
|
|
51
42
|
"tsconfig",
|
|
52
43
|
"webpack",
|
|
53
44
|
"cypress"
|
|
54
|
-
]
|
|
45
|
+
],
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@badeball/cypress-cucumber-preprocessor": "^18.0.6",
|
|
48
|
+
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.0",
|
|
49
|
+
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
50
|
+
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
51
|
+
"@types/cypress-cucumber-preprocessor": "^4.0.2",
|
|
52
|
+
"@types/dockerode": "^3.3.19",
|
|
53
|
+
"cypress-multi-reporters": "^1.6.3",
|
|
54
|
+
"cypress-terminal-report": "^5.3.6",
|
|
55
|
+
"dockerode": "^3.3.5",
|
|
56
|
+
"esbuild": "^0.19.3",
|
|
57
|
+
"mochawesome": "^7.1.3"
|
|
58
|
+
}
|
|
55
59
|
}
|