Willem Jiang 4b7f2454fe
test(e2e): stabilize virtualized pagination and compaction checks (#7244)
* test(e2e): stabilize virtualized pagination and compaction checks

* test: register the scoped E2E guidance file
2026-10-21 18:58:53 +08:00

534 B

Browser E2E tests

Virtualized lists do not keep every fetched row mounted. Assert the pagination request, then filter or scroll the loaded row into the rendered window before checking its content. Preserve the real scroll trigger and search-mode guard.

For message ordering across compaction/refetch, poll an atomic DOM comparison until both nodes settle. Missing or reversed nodes must still fail; keep history, refresh and hidden-summary assertions. Avoid fixed sleeps and whole-test retries as substitutes for synchronization.