axe-playwright 2.0.3 → 2.1.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/dist/index.js +1 -0
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -123,6 +123,7 @@ const checkA11y = (page_1, ...args_1) => __awaiter(void 0, [page_1, ...args_1],
|
|
|
123
123
|
results: { violations },
|
|
124
124
|
options,
|
|
125
125
|
});
|
|
126
|
+
(0, utils_1.testResultDependsOnViolations)(violations, skipFailures);
|
|
126
127
|
}
|
|
127
128
|
else
|
|
128
129
|
console.log('There were no violations to save in report');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axe-playwright",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Custom Playwright commands to inject axe-core and test for a11y",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/jest": "^29.5.13",
|
|
33
|
-
"@types/node": "^22.7.
|
|
33
|
+
"@types/node": "^22.7.8",
|
|
34
34
|
"jest": "^29.7.0",
|
|
35
35
|
"jest-each": "^29.7.0",
|
|
36
36
|
"jest-playwright-preset": "^4.0.0",
|
|
37
|
-
"playwright": "^1.
|
|
37
|
+
"playwright": "^1.48.1",
|
|
38
38
|
"prettier": "^3.3.3",
|
|
39
39
|
"ts-jest": "^29.2.5",
|
|
40
|
-
"typescript": "^5.6.
|
|
40
|
+
"typescript": "^5.6.3"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@types/junit-report-builder": "^3.0.2",
|
|
44
|
-
"axe-core": "^4.10.
|
|
44
|
+
"axe-core": "^4.10.1",
|
|
45
45
|
"axe-html-reporter": "2.2.11",
|
|
46
46
|
"junit-report-builder": "^5.1.1",
|
|
47
|
-
"picocolors": "^1.1.
|
|
47
|
+
"picocolors": "^1.1.1"
|
|
48
48
|
},
|
|
49
49
|
"repository": {
|
|
50
50
|
"type": "git",
|