• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 21870817816 / 9
72%
dev: 72%

Build:
DEFAULT BRANCH: dev
Ran 10 Feb 2026 03:23PM UTC
Files 93
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Feb 2026 03:20PM UTC coverage: 30.977%. Remained the same
21870817816.9

push

github

lsm
fix(e2e): use WebSocket close instead of setOffline for disconnection tests

page.context().setOffline() blocks new HTTP requests but does NOT close
existing WebSocket connections. WebSockets are persistent connections that
remain open until explicitly closed or timeout.

This caused E2E tests to fail because they expected Offline UI indicator
to appear immediately after setOffline(), but the WebSocket never closed.

Solution:
- Created closeWebSocket() helper that calls ws.close() via page.evaluate()
- Triggers real WebSocket onclose event, properly updating connection state
- Updated all connection/reconnection tests to use new helpers
- Updated CLAUDE.md E2E rules to clarify proper disconnection testing

Tests affected:
- connection-resilience.e2e.ts (8 setOffline calls replaced)
- error-scenarios.e2e.ts (3 setOffline calls replaced)
- interruption-helpers.ts (updated to use new helpers)

4615 of 14898 relevant lines covered (30.98%)

15.31 hits per line

Source Files on job daemon-offline-agent - 21870817816.9
  • Tree
  • List 93
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21870817816
  • cec58226 on github
  • Prev Job for on dev (#21852593468.11)
  • Next Job for on dev (#21878434510.3)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc