Stabilize unit and UI tests for SportsTime
This commit is contained in:
@@ -27,6 +27,9 @@ class BaseUITestCase: XCTestCase {
|
||||
override func setUpWithError() throws {
|
||||
continueAfterFailure = false
|
||||
|
||||
// Keep UI tests in a consistent orientation to avoid layout-dependent flakiness.
|
||||
XCUIDevice.shared.orientation = .portrait
|
||||
|
||||
app = XCUIApplication()
|
||||
app.launchArguments = [
|
||||
"--ui-testing",
|
||||
|
||||
Reference in New Issue
Block a user