mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Speed up UI tests
- Disable animations. - Search for screens instead of scrolling them into view.
This commit is contained in:
@@ -63,6 +63,7 @@ class MockScreenTest: XCTestCase {
|
||||
open override func setUpWithError() throws {
|
||||
// For every test case launch the app and go to the relevant screen
|
||||
continueAfterFailure = false
|
||||
app.launchEnvironment = ["IS_RUNNING_UI_TESTS": "1"]
|
||||
app.launch()
|
||||
|
||||
guard let screenKey = screenStateKey else { fatalError("no screen") }
|
||||
|
||||
Reference in New Issue
Block a user