These tests exercise features that need a real HTTP server (workers, sockets, eventsource) and can't run in the normal Playwright test suite.
Workers need the library served at a URL (for importScripts).
# from the project root
npx serve .
# then open http://localhost:3000/test/manual/workers.htmlThese need live WebSocket and SSE endpoints.
# requires the `ws` package: npm install ws
node test/manual/server.js
# then open http://localhost:3000/test/manual/connections.htmlThe server provides:
GET /sse- SSE stream: onemessageevent, fivetickevents (JSON), onedoneeventGET /sse-named- SSE stream:greetingandfarewellevents (JSON)WS /ws- WebSocket: echo + RPC (add,greet,failPlease)
Both pages run tests automatically and show pass/fail results.