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
+2 -1
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 {
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9cf2b33540efccf9c5ad3a5d183bda468c4e79f760ecd3e99d4d7fb43eb49c2b
size 331768