diff --git a/Example/ExampleSnapshotTests/GradientLoadingBar/GradientLoadingBarControllerTestCase.swift b/Example/ExampleSnapshotTests/GradientLoadingBar/GradientLoadingBarControllerTestCase.swift index e04c2f8..4ec86e7 100644 --- a/Example/ExampleSnapshotTests/GradientLoadingBar/GradientLoadingBarControllerTestCase.swift +++ b/Example/ExampleSnapshotTests/GradientLoadingBar/GradientLoadingBarControllerTestCase.swift @@ -48,7 +48,7 @@ final class GradientLoadingBarControllerTestCase: XCTestCase { } // Then - wait(for: [expectation], timeout: 0.01) + wait(for: [expectation], timeout: 0.1) // Workaround, as snapshotting a `UIWindow` is currently not supported and crashes when running all tests. assertSnapshot(matching: window.layer, as: .image) diff --git a/Example/ExampleSnapshotTests/NotchGradientLoadingBar/NotchGradientLoadingBarControllerTestCase.swift b/Example/ExampleSnapshotTests/NotchGradientLoadingBar/NotchGradientLoadingBarControllerTestCase.swift index c2d9c6e..1071feb 100644 --- a/Example/ExampleSnapshotTests/NotchGradientLoadingBar/NotchGradientLoadingBarControllerTestCase.swift +++ b/Example/ExampleSnapshotTests/NotchGradientLoadingBar/NotchGradientLoadingBarControllerTestCase.swift @@ -49,7 +49,7 @@ final class NotchGradientLoadingBarControllerTestCase: XCTestCase { } // Then - wait(for: [expectation], timeout: 0.01) + wait(for: [expectation], timeout: 0.1) // Workaround, as snapshotting a `UIWindow` is currently not supported and crashes when running all tests. assertSnapshot(matching: window.layer, as: .image)