question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS 12.2 webview tests fail using xcuitest-driver

See original GitHub issue

The problem

Webview tests are failing in simulators.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.11.2-rc.1 git hash: cb8dbdb4b2b688e32e311ec7be0777d2339651eb
  • Last Appium version that did not exhibit the issue (if applicable): N/A
  • Desktop OS/version used to run Appium: 10.14.3 Mojave
  • Node.js version (unless using Appium.app|exe): v8.9.4
  • Npm package manager: 5.6.0
  • Mobile platform/version under test: iOS 12.2
  • Real device or emulator/simulator: N/A
  • Appium CLI: 1.11.0-beta.3
  • Xcode version: 10.2 beta 2
  • simulator version: Version 10.2 (SimulatorApp-880.5 CoreSimulator-587.32)

Details

The tests falls into an infinite loop where processes cannot locate each other over rpc. appium-xcuitest-driver git hash: c8e4eabc17361945cc37aa8f4319594cbd7a090d appium-WebDriverAgent revision: branch xcode 10.2 sha: 9b05749dc2054f162eb2569b22bfa9350b195aa6

Link to Appium logs

Link to the Appium logs

Code To Reproduce Issue [ Good To Have ]

Running a test with runsauce with the following capabilities

{
    "desiredCapabilities": {
        "browserName": "safari",
        "appiumVersion": "1.11.1",
        "deviceName": "iPhone 8",
        "platformVersion": "12.2",
        "launchTimeout": 35000,
        "platformName": "iOS",
        "webviewConnectRetries": 10,
        "prevent-requeue": true,
        "name": "Basic web test (default) (safari on iPhone 8 on iOS 12.2)",
        "showXcodeLog": "true"
    }
}

(related to https://github.com/appium/appium/issues/12101)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
imurchiecommented, Mar 4, 2019

This is an issue with finding the correct Unix Domain Socket to talk with the device. I will look into it a bit.

1reaction
imurchiecommented, Mar 6, 2019

Update: I have a few things to iron out but tests in general are working. Once they all work for 12.2 I will move to making sure they still work for other platforms.

Read more comments on GitHub >

github_iconTop Results From Across the Web

appium-xcuitest-driver - npm
Appium driver for iOS using XCUITest for backend. ... If your tests are failing because of typing errors, you may want to adjust...
Read more >
appium/appium - Gitter
Interesting, I tried with 12.2 and got the same error about 12.2 . Failed tests: runner.RunTest: Exception while running Tear down:An unknown server-side ......
Read more >
atom-appium-xcuitest-driver - npm package - Snyk
A module built with 11.4 can work on iOS 12.2. (This is xcodebuild's expected behaviour.) e.g., true. useSimpleBuildTest, Build with build and ...
Read more >
Why am I getting an "[XCUITest] Failed to receive any data ...
It's causing because of IOSDriver when we access programatically. Android works fine. org.openqa.selenium.SessionNotCreatedException: Unable ...
Read more >
appium-xcuitest-driver: Docs, Tutorials, Reviews | Openbase
Appium XCUITest Driver is a combined solution, which allows performing automated black-box testing of iOS and tvOS native applications and WebKit web views....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found