@mobilewright/test 0.0.61 → 0.0.62

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 +3 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -274,6 +274,9 @@ const orientation = await device.getOrientation();
274
274
  await device.setGeolocation({ latitude: -17.833, longitude: 177.947 });
275
275
  await device.setGeolocation(null); // clear the override
276
276
 
277
+ // Foldables — set the hinge on foldable iOS simulators and Android emulators
278
+ await device.setFoldState('half-open'); // 'folded' | 'half-open' | 'open' | 0–180
279
+
277
280
  // Screen dimensions and pixel density: { width, height, scale }
278
281
  const size = await device.screenSize();
279
282
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobilewright/test",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "description": "Test fixtures for Mobilewright",
5
5
  "homepage": "https://mobilewright.dev",
6
6
  "license": "Apache-2.0",
@@ -29,10 +29,10 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@mobilewright/core": "^0.0.61",
33
- "@mobilewright/protocol": "^0.0.61",
32
+ "@mobilewright/core": "^0.0.62",
33
+ "@mobilewright/protocol": "^0.0.62",
34
34
  "@playwright/test": "1.63.0",
35
35
  "debug": "^4.4.3",
36
- "mobilewright": "^0.0.61"
36
+ "mobilewright": "^0.0.62"
37
37
  }
38
38
  }