diff --git a/Example/ExampleUITests/ExampleUITestCase.swift b/Example/ExampleUITests/ExampleUITestCase.swift index 07ed28f..9d7ef05 100644 --- a/Example/ExampleUITests/ExampleUITestCase.swift +++ b/Example/ExampleUITests/ExampleUITestCase.swift @@ -37,11 +37,11 @@ class ExampleUITestCase: XCUITestCase { #if os(iOS) // iPad has a bug where view is blank when starting in portrait // Let's rotate it landscape and back to work around that bug. - Task { @MainActor in - XCUIDevice.shared.orientation = .portrait - XCUIDevice.shared.orientation = .landscapeRight - XCUIDevice.shared.orientation = .portrait - } + Task { @MainActor in + XCUIDevice.shared.orientation = .portrait + XCUIDevice.shared.orientation = .landscapeRight + XCUIDevice.shared.orientation = .portrait + } #endif }