appium-webdriveragent 5.5.2 → 5.6.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [5.6.0](https://github.com/appium/WebDriverAgent/compare/v5.5.2...v5.6.0) (2023-07-15)
2
+
3
+
4
+ ### Features
5
+
6
+ * apply shouldWaitForQuiescence for activate in /wda/apps/launch ([#739](https://github.com/appium/WebDriverAgent/issues/739)) ([#740](https://github.com/appium/WebDriverAgent/issues/740)) ([66ab695](https://github.com/appium/WebDriverAgent/commit/66ab695f9fa1850145a1d94ef15978b70bc1b032))
7
+
1
8
  ## [5.5.2](https://github.com/appium/WebDriverAgent/compare/v5.5.1...v5.5.2) (2023-07-07)
2
9
 
3
10
 
@@ -178,13 +178,13 @@ static FBSession *_activeSession = nil;
178
178
  environment:(nullable NSDictionary <NSString *, NSString *> *)environment
179
179
  {
180
180
  FBApplication *app = [[FBApplication alloc] initWithBundleIdentifier:bundleIdentifier];
181
+ if (nil == shouldWaitForQuiescence) {
182
+ // Iherit the quiescence check setting from the main app under test by default
183
+ app.fb_shouldWaitForQuiescence = nil != self.testedApplicationBundleId && self.shouldAppsWaitForQuiescence;
184
+ } else {
185
+ app.fb_shouldWaitForQuiescence = [shouldWaitForQuiescence boolValue];
186
+ }
181
187
  if (app.fb_state < 2) {
182
- if (nil == shouldWaitForQuiescence) {
183
- // Iherit the quiescence check setting from the main app under test by default
184
- app.fb_shouldWaitForQuiescence = nil != self.testedApplicationBundleId && self.shouldAppsWaitForQuiescence;
185
- } else {
186
- app.fb_shouldWaitForQuiescence = [shouldWaitForQuiescence boolValue];
187
- }
188
188
  app.launchArguments = arguments ?: @[];
189
189
  app.launchEnvironment = environment ?: @{};
190
190
  [app launch];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "5.5.2",
3
+ "version": "5.6.0",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {