appium-webdriveragent 15.1.3 → 15.1.5

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
@@ -1,3 +1,15 @@
1
+ ## [15.1.5](https://github.com/appium/WebDriverAgent/compare/v15.1.4...v15.1.5) (2026-07-12)
2
+
3
+ ### Bug Fixes
4
+
5
+ * lock screen via IOHID Power press on iOS 27 ([#1171](https://github.com/appium/WebDriverAgent/issues/1171)) ([64be238](https://github.com/appium/WebDriverAgent/commit/64be2388ad5d1cefa184beaf34ae85fe8e14e0c8))
6
+
7
+ ## [15.1.4](https://github.com/appium/WebDriverAgent/compare/v15.1.3...v15.1.4) (2026-07-07)
8
+
9
+ ### Miscellaneous Chores
10
+
11
+ * Drop mocha and chai ([#1169](https://github.com/appium/WebDriverAgent/issues/1169)) ([11ba27c](https://github.com/appium/WebDriverAgent/commit/11ba27c71a38d7a8f4882ea70716541b3679e67f))
12
+
1
13
  ## [15.1.3](https://github.com/appium/WebDriverAgent/compare/v15.1.2...v15.1.3) (2026-07-01)
2
14
 
3
15
  ### Miscellaneous Chores
@@ -123,7 +123,17 @@ static bool fb_isLocked;
123
123
  if (fb_isLocked) {
124
124
  return YES;
125
125
  }
126
- [self pressLockButton];
126
+ if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"27.0")) {
127
+ // iOS 27: pressLockButton no longer locks; use a direct IOHID Power press (0x0C/0x30, ~0.5s hold).
128
+ if (![self fb_performIOHIDEventWithPage:0x0C
129
+ usage:0x30
130
+ duration:0.5
131
+ error:error]) {
132
+ return NO;
133
+ }
134
+ } else {
135
+ [self pressLockButton];
136
+ }
127
137
  return [[[[FBRunLoopSpinner new]
128
138
  timeout:FBScreenLockTimeout]
129
139
  timeoutErrorMessage:@"Timed out while waiting until the screen gets locked"]
@@ -15,11 +15,11 @@
15
15
  <key>CFBundlePackageType</key>
16
16
  <string>FMWK</string>
17
17
  <key>CFBundleShortVersionString</key>
18
- <string>15.1.3</string>
18
+ <string>15.1.5</string>
19
19
  <key>CFBundleSignature</key>
20
20
  <string>????</string>
21
21
  <key>CFBundleVersion</key>
22
- <string>15.1.3</string>
22
+ <string>15.1.5</string>
23
23
  <key>NSPrincipalClass</key>
24
24
  <string/>
25
25
  </dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "15.1.3",
3
+ "version": "15.1.5",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/lib/index.js",
6
6
  "types": "./build/lib/index.d.ts",
@@ -14,8 +14,8 @@
14
14
  "format:check": "prettier --check ./lib ./test",
15
15
  "prepare": "npm run build",
16
16
  "version": "npm run sync-wda-version",
17
- "test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.ts\"",
18
- "e2e-test": "mocha --exit --timeout 10m \"./test/functional/**/*-specs.ts\"",
17
+ "test": "node --test --test-timeout=60000 \"./build/test/unit/**/*.spec.js\"",
18
+ "e2e-test": "node --test --test-force-exit --test-concurrency=1 --test-timeout=600000 \"./build/test/functional/**/*.spec.js\"",
19
19
  "bundle": "npm run bundle:ios && npm run bundle:tv",
20
20
  "bundle:ios": "TARGET=runner SDK=sim node ./Scripts/build-webdriveragent.mjs",
21
21
  "bundle:tv": "TARGET=tv_runner SDK=tv_sim node ./Scripts/build-webdriveragent.mjs",
@@ -55,22 +55,15 @@
55
55
  "@semantic-release/changelog": "^6.0.1",
56
56
  "@semantic-release/git": "^10.0.1",
57
57
  "@types/async-lock": "^1.4.2",
58
- "@types/chai": "^5.2.3",
59
- "@types/chai-as-promised": "^8.0.2",
60
- "@types/mocha": "^10.0.1",
61
58
  "@types/node": "^26.0.0",
62
59
  "@types/sinon": "^22.0.0",
63
60
  "appium-xcode": "^6.0.0",
64
- "chai": "^6.0.0",
65
- "chai-as-promised": "^8.0.0",
66
61
  "conventional-changelog-conventionalcommits": "^9.3.1",
67
- "mocha": "^11.0.1",
68
62
  "node-simctl": "^8.0.0",
69
63
  "prettier": "^3.9.3",
70
64
  "semantic-release": "^25.0.2",
71
65
  "semver": "^7.3.7",
72
66
  "sinon": "^22.0.0",
73
- "ts-node": "^10.9.1",
74
67
  "typescript": "^6.0.2"
75
68
  },
76
69
  "dependencies": {