title: Is there a way to reset the app between tests in Swift XCTest UI?
body: <p>Is there an API call within XCTest that I can put into the setUP() or tearDown() to reset the app between tests? I looked in the dot syntax of XCUIApplication and all I saw was the .launch()</p>
  
  <p>OR is there a way to call a shell script in Swift? I could then call xcrun in-between test methods to reset the simulator.</p>