Fix scroll-restore e2e for CI: scrollTo + sessionStorage poll.
CI / skip-ci-check (pull_request) Successful in 29s
CI / docker-ci (pull_request) Successful in 32s
CI / python-lint (pull_request) Successful in 33s
CI / secret-scan (pull_request) Successful in 38s
CI / viewer-unit (pull_request) Successful in 1m46s
CI / admin-unit (pull_request) Successful in 2m0s
CI / e2e (pull_request) Failing after 2m19s

Use deterministic scrollTo instead of wheel; assert max(scrollY, stored)
after modal close. Re-enable web-vitals e2e.
This commit is contained in:
2026-08-04 23:23:51 -04:00
parent 2d7b001057
commit 9b68afd24e
2 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import {
readWebVitals,
} from '../web-vitals-budgets';
test.describe.skip('viewer web vitals @smoke', () => {
test.describe('viewer web vitals @smoke', () => {
test.beforeEach(async ({ page }) => {
await installWebVitalsCollector(page);
});