- Introduce safeClose() helper that ignores 'Target page, context or
browser has been closed' errors. When Hostinger LiteSpeed aborts a
connection (net::ERR_ABORTED), Playwright internally marks the context
as closed; the previous bare context.close() threw from inside catch,
propagating out and killing setup before remaining retries ran.
- MAX_ATTEMPTS 3 → 5 for more tolerance of burst throttle windows.
- Backoff changed from flat 15 s → exponential 5/10/20/40 s (75 s total).
- Worst-case timing: 5 × 90 s nav + 75 s backoff = ~525 s < 900 s job limit.
- Final-failure message explicitly names the LiteSpeed throttle hypothesis.
- Version bump 1.2.0 → 1.3.0.
Agent-Session: engineer-e2e-authfix-20260612
2026-06-12 14:59:43 +00:00
3 changed files with 69 additions and 11 deletions
"description":"Playwright smoke tests for peptiderepo.com (staging + production)",
"private":true,
"scripts":{
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.