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: With latest version of xcuitest-driver no client reset happens

See original GitHub issue

The problem

With latest xcuitest-driver v2.5.4 client does not reset with (previous version working as expected): Reset without uninstall

capabilities.setCapability(MobileCapabilityType.FULL_RESET, false);
capabilities.setCapability(MobileCapabilityType.NO_RESET, false);

Reset happens only with: Reset with uninstall

capabilities.setCapability(MobileCapabilityType.FULL_RESET, true);
capabilities.setCapability(MobileCapabilityType.NO_RESET, false);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:27 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
jlippscommented, Jan 27, 2017

You can’t use fullReset and noReset together. You should either:

  1. Use nothing (the default case)
  2. Use fullReset (sometimes does some extra cleanup if possible)
  3. Use noReset (does less cleanup than the default case)

It’s not surprising that combining fullReset and noReset leads to weird behaviors. Maybe we should just fail a test immediately if someone tries to do this.

0reactions
lock[bot]commented, Apr 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

XCUITest (iOS)
WDA is a WebDriver-compatible server that runs in the context of an iOS simulator or device and exposes the XCUITest API. Appium's XCUITest...
Read more >
ld: cannot link directly with dyli… | Apple Developer Forums
I have been trying to install WebdriverAgent on Apple TV. After pressing "Start the active scheme" button, the following error has occurred:.
Read more >
appium-xcuitest-driver
Appium driver for iOS using XCUITest for backend. Latest version: 4.12.1, last published: 13 hours ago. Start using appium-xcuitest-driver ...
Read more >
Ios xcuitest real devices - appium - Read the Docs
Appium XCUITest Driver Real Device Setup; Installing dependencies ... includes every time a new version of Appium is installed, and is not recommended):....
Read more >
Appium Inspector not connecting to an app
1510905681) [XCUITest] iOS SDK Version set to '11.2' [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1514939642987 (16:34:02 GMT-0800 (PST)) ...
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