Unable to run automated test on iOS simulator: "No WDA on the device"
See original GitHub issueUnable to run the automated test on iOS simulator.
I have ran these same tests before updating Mac OS to Monterrey and updating xcode and it worked. After the update as soon as I run the same test the errors are:
The simulator has '0' bundles which have 'WebDriverAgentRunner-Runner' as their 'CFBundleName': [debug] [35m[WebDriverAgent][39m No WDAs on the device.
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [info] [35m[WD Proxy][39m connect ECONNREFUSED 127.0.0.1:8100 [debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
Environment
- Appium version 1.22.2
- Last Appium version that did not exhibit the issue (if applicable):1.22.1
- Desktop OS/version used to run Appium: Mac OS 12.01
- Node.js version (unless using Appium.app|exe): v16.13.0
- Npm or Yarn package manager: npm 8.1.0
- Mobile platform/version under test: iOS (iPhone 11, 12)
- Real device or emulator/simulator: Simulator
- Appium CLI or Appium.app|exe: Appium Server GUI
Details
As soon as the test runs, the app gets installed, but the tests do not run.
Link to Appium logs
GIST File: https://gist.github.com/ayimaster/65bf26e0b97c8864f73b35ee187d3af5
Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.
Please git clone https://github.com/appium/appium and from the sample-code
directory, use one of your favourite languages and sample apps to reproduce the issue.
In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top GitHub Comments
@ayimaster kindly use Appium forum to ask questions.
Closing this thread as not an issue.
@mykola-mokhnach, there are three questions:
[error] [35m[Xcode][39m Failing tests: [error] [35m[Xcode][39m [error] [35m[Xcode][39m WebDriverAgentRunner: [error] [35m[Xcode][39m -[UITestingUITests testRunner] [error] [35m[Xcode][39m [error] [35m[Xcode][39m [error] [35m[Xcode][39m ** TEST EXECUTE FAILED ** [error] [35m[Xcode][39m [error] [35m[Xcode][39m [error] [35m[Xcode][39m Testing started [error] [35m[Xcode][39m [error] [35m[WebDriverAgent][39m xcodebuild exited with code '65' and signal 'null'
Is this the way it should be? Thank you.