5a859e6d1a9d74055394d5feb2ae2002a5d24b14
Hostinger rate-limits GitHub runner IPs on wp-login.php, causing TimeoutError (30s) during the auth setup step. This has produced 6 deploy-gate failures over 2 days across multiple repos. Changes: - Raise navigation timeout from 30s to 90s per attempt - Wrap the full login sequence in a retry loop (up to 3 attempts) - Create a fresh BrowserContext per attempt so stale cookies / throttle state cannot carry over between retries - Wait 15s between attempts to let transient throttle windows clear - Log each attempt number and outcome clearly (console.log + console.error) so any future failure is diagnosable from the CI log without a local repro - On final failure, surface a hint pointing to the Hostinger throttle cause Assertion behaviour: unchanged. The #wpadminbar check and storageState write are identical to before — retries only affect getting past wp-login. No changes to smoke test assertions, playwright.config.ts, or workflow files. Agent-Session: e2e-login-flake-20260612
Description
Playwright smoke tests for peptiderepo.com staging and production
Languages
TypeScript
73.6%
Shell
13.2%
Python
11.7%
Dockerfile
1.5%