CloseApp() / terminateApp() will reinstall application under test [NOT AN ISSUE]

When I run driver.closeApp() or driver.terminateApp(bundleId) command, appium will re-install application under test (both iOS (XCUITest) and Android (UIAutomator2)). Is this somehow expected or a bug in Appium?

I’m using latest Appium and Java-client versions.

it possible depends on your capabilities. play with:

  • MobileCapabilityType.FULL_RESET
  • MobileCapabilityType.NO_RESET

try:

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

Actually I found out it’s a bug in our code. :monkey:
Thanks @Aleksei for your feedback :slightly_smiling_face::+1: