Skip to content

Instantly share code, notes, and snippets.

@cipolleschi
Created August 15, 2020 16:49
Show Gist options
  • Save cipolleschi/179db283a7caa6f0315444f22522ecde to your computer and use it in GitHub Desktop.
Save cipolleschi/179db283a7caa6f0315444f22522ecde to your computer and use it in GitHub Desktop.
override func setUpWithError() throws {
try super.setUpWithError()
continueAfterFailure = false
self.app = XCUIApplication()
let path = Bundle.allBundles.compactMap { $0.path(forResource: "state", ofType: "json") }.first!
self.app.launchArguments = [
"-initialScreen", "home_screen",
"-state", path,
"-reset", "true"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment