Flaky playwright test: `room/room.spec.ts: should memorize the timeline position when switch Room A -> Room B -> Room A`
1) [Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
Error: Timed out 5000ms waiting for expect(locator).toBeInViewport()
Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
Expected: in viewport
Received: outside viewport
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
98 | // The timeline should display the first message
99 | // The previous position before switching to Room B should be remembered
> 100 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport();
| ^
101 | });
102 | });
103 |
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/room/room.spec.ts:100:91
https://github.com/matrix-org/matrix-react-sdk/actions/runs/7399946550
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8081351465
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8096223581
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8096833896
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8097664380
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8097829401
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8098828802
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8107641213
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8129823529
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8142352154
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8143591709
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8151190405
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8154327830
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8158017445
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8159246831
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8159407134
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8159581468
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8159825375
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8160553357
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8161107637
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8161131345
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8169321339
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8173822253
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8180489431
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8187510682
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8187734962
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8190282354
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8191150441
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8196683362
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8202161165
https://github.com/matrix-org/matrix-react-sdk/actions/runs/8203192228