@testchimp/playwright 0.2.30 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -39,6 +39,8 @@ Read more about TestChimps' TrueCoverage feature [here](https://docs.testchimp.i
39
39
  npm install @testchimp/playwright
40
40
  ```
41
41
 
42
+ Requires Node.js `>=20.9.0` (since 0.3.0).
43
+
42
44
  Peer dependency: `@playwright/test` (e.g. `>=1.40.0`) for web projects, and `mobilewright` for mobile projects.
43
45
 
44
46
  Platform is determined per test from Mobilewright `projects[].use.platform` (`ios` / `android`; omitted = web), with fallback to `testInfo.annotations` (`device.platform`, Mobilewright 0.0.36+). Requires **mobilewright >= 0.0.37** for multi-project `installApps`. Pass `installTestChimp(base, { uiFixture: 'screen' })` when wrapping `@mobilewright/test`; default `page` for `@playwright/test` (web path never touches `device` fixtures).
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@testchimp/playwright",
3
- "version": "0.2.30",
3
+ "version": "0.3.0",
4
4
  "description": "Playwright/Mobilewright reporter and runtime for TestChimp tracking and coverage reporting",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
+ "engines": {
11
+ "node": ">=20.9.0"
12
+ },
10
13
  "exports": {
11
14
  ".": {
12
15
  "types": "./dist/index.d.ts",
@@ -47,23 +50,23 @@
47
50
  },
48
51
  "dependencies": {
49
52
  "@axe-core/playwright": "^4.11.0",
50
- "ai-wright": "^0.0.12",
51
- "axios": "1.18.0",
53
+ "ai-wright": "^0.0.13",
54
+ "axios": "1.20.0",
52
55
  "cheerio": "^1.0.0",
53
56
  "dotenv": "^17.0.0",
54
57
  "form-data": "4.0.6",
55
- "sharp": "^0.34.4"
58
+ "sharp": "^0.35.5"
56
59
  },
57
60
  "devDependencies": {
58
- "@mobilewright/test": "^0.0.37",
61
+ "@mobilewright/test": "^0.0.65",
59
62
  "@playwright/test": "^1.40.0",
60
63
  "@types/node": "^20.10.0",
61
- "mobilewright": "^0.0.37",
64
+ "mobilewright": "^0.0.65",
62
65
  "typescript": "^5.3.0"
63
66
  },
64
67
  "overrides": {
65
68
  "ws": "8.21.0",
66
- "undici": "7.29.0",
69
+ "undici": "7.29.1",
67
70
  "follow-redirects": "1.16.0",
68
71
  "form-data": "4.0.6"
69
72
  },