Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: wait for wda start in sim as well for preinstalled wda start #876

Merged
merged 12 commits into from
Mar 28, 2024

Conversation

KazuCocoa
Copy link
Member

On my local. simulators also needed a bit time to start the wda process with usePreinstalledWDA

caps = {
  "automationName": "xcuitest",
  "platformName": "ios",
  "platformVersion": "17.2",
  "deviceName": "iPhone 15",
  "appium:usePreinstalledWDA": true,
  "appium:updatedWDABundleId": "com.kazucocoa.WebDriverAgentRunner"
}

I think it's reasonable to add wait for wda process start in both...

} catch (err) {
this.log.debug(`WDA is not listening at '${this.url.href}'`);
return null;
this.log.debug(`Failed to get the status endpoint in ${timeoutMs} ms. ` +

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The last error by ${this.url.href} was ${lastError}. Original error:: ${err.message}.->The last error while accessing ${this.url.href}: lastError.message`

@KazuCocoa KazuCocoa merged commit 6c8920a into master Mar 28, 2024
17 of 34 checks passed
@KazuCocoa KazuCocoa deleted the add-wait-sim branch March 28, 2024 08:34
github-actions bot pushed a commit that referenced this pull request Mar 28, 2024
## [8.2.1](v8.2.0...v8.2.1) (2024-03-28)

### Miscellaneous Chores

* wait for wda start in sim as well for preinstalled wda start ([#876](#876)) ([6c8920a](6c8920a))
Copy link

🎉 This PR is included in version 8.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants