axe-playwright 2.2.0 → 2.2.1

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/CHANGELOG.md CHANGED
@@ -2,16 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.2.1](https://github.com/abhinaba-ghosh/axe-playwright/compare/v2.2.0...v2.2.1) (2025-09-10)
6
+
5
7
  ## [2.2.0](https://github.com/abhinaba-ghosh/axe-playwright/compare/v2.1.0...v2.2.0) (2025-09-09)
6
8
 
7
9
 
8
10
  ### Features
9
11
 
10
- * added chnagelog ([2f20011](https://github.com/abhinaba-ghosh/axe-playwright/commit/2f2001164befa5bb708e694242e1b76212f211ce))
12
+ * added changelog ([2f20011](https://github.com/abhinaba-ghosh/axe-playwright/commit/2f2001164befa5bb708e694242e1b76212f211ce))
11
13
 
12
14
 
13
15
  ### Bug Fixes
14
16
 
15
17
  * change reporter conditionals in `checkA11y()` to fix `skipFailure` options not working when reporter is 'junit' ([b4514d0](https://github.com/abhinaba-ghosh/axe-playwright/commit/b4514d043ed747ab7079241f3dbb3670e12ce2f0))
16
-
17
- # changelog
@@ -82,7 +82,7 @@ class JUnitReporter {
82
82
  });
83
83
  const pass = violations.length === 0;
84
84
  if (pass) {
85
- junit_report_builder_1.default.testCase().name('Accesibility testing - A11Y');
85
+ suite.testCase().name('Accesibility testing - A11Y');
86
86
  this.verbose && console.log(`No accessibility violations detected!`);
87
87
  }
88
88
  let location = this.outputFilename || 'a11y-tests.xml';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axe-playwright",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
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",
@@ -22,6 +22,7 @@
22
22
  "test": "npm run test:unit && npm run test:integration",
23
23
  "test:unit": "jest test/unit --testEnvironment=node",
24
24
  "test:integration": "jest test/integration",
25
+ "test:e2e": "jest test/e2e",
25
26
  "format": "npx prettier --write .",
26
27
  "prerelease": "npm run build",
27
28
  "release": "standard-version",
@@ -39,6 +40,7 @@
39
40
  "devDependencies": {
40
41
  "@types/jest": "^29.5.13",
41
42
  "@types/node": "^22.7.8",
43
+ "@types/xml2js": "^0.4.14",
42
44
  "jest": "^29.7.0",
43
45
  "jest-each": "^29.7.0",
44
46
  "jest-playwright-preset": "^4.0.0",
@@ -46,7 +48,8 @@
46
48
  "prettier": "^3.3.3",
47
49
  "standard-version": "^9.5.0",
48
50
  "ts-jest": "^29.2.5",
49
- "typescript": "^5.6.3"
51
+ "typescript": "^5.6.3",
52
+ "xml2js": "^0.6.2"
50
53
  },
51
54
  "dependencies": {
52
55
  "@types/junit-report-builder": "^3.0.2",