title: XCUITest needs to be ran twice to be successful because of app reboot
body: <p>I have a VoIP application that somewhere during the on boarding process resets itself. Because of this the first time I run the UI test it will always fail and the second time it will always pass.</p>
  
  <p>I use this UI Test to create screenshots with snapshot (fastlane) and of course I can tell snapshot to try at least twice. But I also want to run this UI test whenever somebody merges to develop so I know it's broken, instead of fixing the scripts manually when we want to release. So I really would like some kind of way to let this test pass from a clean Simulator.</p>
  
  <p>Is there any way possible?</p>