Fix timeline item highlighting UI test

This commit is contained in:
Stefan Ceriu 2024-05-07 16:13:55 +03:00 committed by Stefan Ceriu
parent 35803b479d
commit eac2552ab5
2 changed files with 5 additions and 1 deletions

View File

@ -132,7 +132,8 @@ class RoomScreenUITests: XCTestCase {
try await performOperation(.focusOnEvent("$5"), using: client)
// Then the item should also be highlighted and scrolled to in the same state as before.
try await app.assertScreenshot(.roomLayoutHighlight, step: 0)
// Should be the same as step 0 but it doesn't scroll to the same exact position, precision is around 0.95
try await app.assertScreenshot(.roomLayoutHighlight, step: 1)
}
func testTimelineReadReceipts() async throws {

Binary file not shown.