appium-webdriveragent 9.15.0 → 9.15.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
@@ -1,3 +1,9 @@
1
+ ## [9.15.1](https://github.com/appium/WebDriverAgent/compare/v9.15.0...v9.15.1) (2025-07-17)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * Remove the redundant check after activating the system app ([#1043](https://github.com/appium/WebDriverAgent/issues/1043)) ([33ccba1](https://github.com/appium/WebDriverAgent/commit/33ccba1ab3bc2980349f8553fd30aa5b08141b6b))
6
+
1
7
  ## [9.15.0](https://github.com/appium/WebDriverAgent/compare/v9.14.6...v9.15.0) (2025-07-10)
2
8
 
3
9
  ### Features
@@ -621,23 +621,17 @@ NSDictionary<NSString *, NSString *> *customExclusionAttributesMap(void) {
621
621
  {
622
622
  XCUIApplication *systemApp = self.fb_systemApplication;
623
623
  @try {
624
- if (!systemApp.running) {
625
- [systemApp launch];
626
- } else {
624
+ if (systemApp.running) {
627
625
  [systemApp activate];
626
+ } else {
627
+ [systemApp launch];
628
628
  }
629
629
  } @catch (NSException *e) {
630
630
  return [[[FBErrorBuilder alloc]
631
631
  withDescription:nil == e ? @"Cannot open the home screen" : e.reason]
632
632
  buildError:error];
633
633
  }
634
- return [[[[FBRunLoopSpinner new]
635
- timeout:5]
636
- timeoutErrorMessage:@"Timeout waiting until the home screen is visible"]
637
- spinUntilTrue:^BOOL{
638
- return [systemApp fb_isSameAppAs:self.fb_activeApplication];
639
- }
640
- error:error];
634
+ return YES;
641
635
  }
642
636
 
643
637
  - (BOOL)fb_isSameAppAs:(nullable XCUIApplication *)otherApp
@@ -15,11 +15,11 @@
15
15
  <key>CFBundlePackageType</key>
16
16
  <string>FMWK</string>
17
17
  <key>CFBundleShortVersionString</key>
18
- <string>9.15.0</string>
18
+ <string>9.15.1</string>
19
19
  <key>CFBundleSignature</key>
20
20
  <string>????</string>
21
21
  <key>CFBundleVersion</key>
22
- <string>9.15.0</string>
22
+ <string>9.15.1</string>
23
23
  <key>NSPrincipalClass</key>
24
24
  <string/>
25
25
  </dict>
@@ -28,7 +28,7 @@ static const CGFloat LOW_QUALITY = 0.25;
28
28
 
29
29
  NSString *formatTimeInterval(NSTimeInterval interval) {
30
30
  NSUInteger milliseconds = (NSUInteger)(interval * 1000);
31
- return [NSString stringWithFormat:@"%ld ms", milliseconds];
31
+ return [NSString stringWithFormat:@"%lu ms", milliseconds];
32
32
  }
33
33
 
34
34
  @implementation FBScreenshot
@@ -102,7 +102,7 @@
102
102
  NSError *error;
103
103
  XCTAssertTrue([[XCUIDevice sharedDevice] fb_goToHomescreenWithError:&error]);
104
104
  XCTAssertNil(error);
105
- XCTAssertTrue([XCUIApplication fb_activeApplication].icons[@"Safari"].exists);
105
+ FBAssertWaitTillBecomesTrue([XCUIApplication fb_activeApplication].icons[@"Safari"].exists);
106
106
  }
107
107
 
108
108
  - (void)testLockUnlockScreen
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "9.15.0",
3
+ "version": "9.15.1",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",