From b829c6a06f3a700dfd6aeb3c87addbb81ef0f8e4 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 10 Aug 2026 13:36:29 +0300 Subject: [PATCH] Prevent invalid snapshots on timeline replies by waiting for the keyboard to appear for longer --- UITests/Sources/UserSessionScreenTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UITests/Sources/UserSessionScreenTests.swift b/UITests/Sources/UserSessionScreenTests.swift index 3e06cb6d0..d7170182e 100644 --- a/UITests/Sources/UserSessionScreenTests.swift +++ b/UITests/Sources/UserSessionScreenTests.swift @@ -84,7 +84,7 @@ class UserSessionScreenTests: XCTestCase { let cell = app.cells.element(boundBy: 1) // Skip the typing indicator cell cell.swipeRight(velocity: .slow) // The iOS 26 simulator doesn't like a fast swipe. - try await app.assertScreenshot() + try await app.assertScreenshot(delay: .seconds(1)) } func testElementCall() {