@uuv/playwright 3.35.0 → 3.36.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.
|
@@ -25,8 +25,9 @@ if (!tempDir || !projectDir) {
|
|
|
25
25
|
console.log(chalk_1.default.redBright("An error occurred during test files watching"));
|
|
26
26
|
process.exit(-1);
|
|
27
27
|
}
|
|
28
|
-
chokidar_1.default.watch(`${projectDir}/e2e
|
|
29
|
-
ignoreInitial: true
|
|
28
|
+
chokidar_1.default.watch(`${projectDir}/e2e`, {
|
|
29
|
+
ignoreInitial: true,
|
|
30
|
+
ignored: (path, stats) => !!stats && stats.isFile() && !path.endsWith(".feature")
|
|
30
31
|
})
|
|
31
32
|
.on("change", () => {
|
|
32
33
|
console.log(chalk_1.default.yellowBright("\nRefreshing test files..."));
|
|
@@ -16,6 +16,7 @@ const uuv_custom_formatter_1 = require("./uuv-custom-formatter");
|
|
|
16
16
|
const tag_expressions_1 = __importDefault(require("@cucumber/tag-expressions"));
|
|
17
17
|
const path_1 = __importDefault(require("path"));
|
|
18
18
|
const event_1 = require("@uuv/runner-commons/runner/event");
|
|
19
|
+
const utils_1 = require("@uuv/runner-commons/runner/utils");
|
|
19
20
|
const NANOS_IN_SECOND = 1000000000;
|
|
20
21
|
const NANOS_IN_MILLISSECOND = 1000000;
|
|
21
22
|
var GeneratedReportType;
|
|
@@ -477,6 +478,7 @@ class UuvPlaywrightReporterHelper {
|
|
|
477
478
|
},
|
|
478
479
|
},
|
|
479
480
|
});
|
|
481
|
+
(0, utils_1.updateChartJsVersion)(reportDirHtml, "2.5.0", "2.6.0");
|
|
480
482
|
}
|
|
481
483
|
async generateHtmlReport() {
|
|
482
484
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uuv/playwright",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.36.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
|
|
6
6
|
"description": "A solution to facilitate the writing and execution of E2E tests understandable by any human being using cucumber(BDD) and playwright",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"verify-report": "jest --runInBand --coverage --config=./jest.config.ts --testPathPattern=src/tests/report",
|
|
41
41
|
"e2e-test:run": "ts-node test.ts e2e",
|
|
42
42
|
"e2e-test:open": "ts-node test.ts open --",
|
|
43
|
-
"test": "npm run unit-
|
|
43
|
+
"test": "npm run unit-tests && npm run e2e-test:run"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@cucumber/tag-expressions": "^6.0.0",
|
|
47
46
|
"@cucumber/cucumber": "11.0.1",
|
|
47
|
+
"@cucumber/tag-expressions": "^6.0.0",
|
|
48
48
|
"@playwright/test": "^1.44.1",
|
|
49
|
-
"@uuv/a11y": "1.0.0-beta.
|
|
50
|
-
"@uuv/runner-commons": "2.
|
|
49
|
+
"@uuv/a11y": "1.0.0-beta.70",
|
|
50
|
+
"@uuv/runner-commons": "2.50.0",
|
|
51
51
|
"axe-core": "4.10.3",
|
|
52
52
|
"axe-playwright": "2.1.0",
|
|
53
53
|
"chalk-table": "^1.0.2",
|
|
@@ -91,8 +91,11 @@
|
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@types/minimist": "1.2.5",
|
|
93
93
|
"@types/node": "20.12.12",
|
|
94
|
+
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
95
|
+
"@typescript-eslint/parser": "7.18.0",
|
|
94
96
|
"chalk": "^4.1.2",
|
|
95
97
|
"cross-env": "7.0.3",
|
|
98
|
+
"eslint": "8.56.0",
|
|
96
99
|
"eslint-plugin-cucumber": "2.0.0",
|
|
97
100
|
"eslint-plugin-jest": "27.9.0",
|
|
98
101
|
"eslint-plugin-playwright": "2.2.0",
|