Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Mar 12, 2019 16:50

Problem

When you're using Appium with XCUITest & you launch an IPA through capabilities, Appium hangs & don't respond for ~6min.

You will observe that by not receiving a response in your execution for minutes, regardless that the application is open. 

Described & logged on https://github.com/appium/appium/issues/9645 

Workaround:

Adding the following capabilities is know & verified that it solves the problem. 

Capabilities in Ruby to workaround the Appium issue
clearSystemFiles: true,
wdaStartupRetryInterval: 1000,
useNewWDA: true,
waitForQuiescence: false,
shouldUseSingletonTestManager: false
Capabilities in Java to workaround the Appium issue
capabilities.setCapability("clearSystemFiles", "true");
capabilities.setCapability("wdaStartupRetryInterval", "1000");
capabilities.setCapability("useNewWDA", "true");
capabilities.setCapability("waitForQuiescence", "false");
capabilities.setCapability("shouldUseSingletonTestManager", "false");