Disable UI Test install 1 time only

Hi Developers, i just migrate from xcode 11.3.1 to 11.4 and i have some problem with the current UI Test improvement because i always re-install my app every test case finished.


In Xcode 11.4 release notes i saw this:
```

Previously, when running UI tests, the target under test was reinstalled before each test started. Starting in Xcode 11.4, the target under test is installed once per test session and device, speeding up UI tests considerably. (24776269)
```

It may cause my Springboard cannot find the app (because the app deleted every time 1 test case finished) & crash the UI Test.

My question is, is there any way to disable the new test behavior without downgrading my xcode version ?


Thank you.

Replies

I have a test flow where app is to be re-installed after app is deleted in springboard on iOS home screen while running tests through XCUITest.

Now from 11.4, due to the above feature, reinstallation of app is no more happening and due to this, my test is failing with the following error:


Why didn't Apple take care of some of the basic flows in 11.4?

Now there is no way to reinstall the app, post app deletion in any test