Harden CWV + admin e2e for CI headless runner.
CI / skip-ci-check (pull_request) Successful in 29s
CI / python-lint (pull_request) Successful in 32s
CI / docker-ci (pull_request) Successful in 32s
CI / secret-scan (pull_request) Successful in 35s
CI / viewer-unit (pull_request) Successful in 2m50s
CI / admin-unit (pull_request) Successful in 3m5s
CI / e2e (pull_request) Failing after 3m5s

Fall back to buffered LCP / navigation timing when observers are slow; 12s
LCP budget on CI; admin login asserts Logout instead of page title.
This commit is contained in:
2026-08-04 23:02:56 -04:00
parent 5d6404dfe0
commit 4a96e65d61
2 changed files with 32 additions and 8 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ test.describe('admin review pages @smoke', () => {
await timings.measure('admin_login', async () => {
await login.openLogin();
await login.signIn(username, password);
await expect(page.getByRole('heading', { name: /Home Page/i })).toBeVisible({
await expect(page.getByRole('button', { name: 'Logout' })).toBeVisible({
timeout: 30_000,
});
});