test(viewer): the kept pairing written from the marker page, not beside a starting viewer #65
Loading…
Reference in a new issue
No description provided.
Delete branch "remote-test-flake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
main's CI failed once in e2e (run 201): a kept pairing the watch doesn't answer can be forgotten saw three POSTs to the watch instead of two.
The cause is a race in the test. It opened
index.html, wrote the kept pairing into IndexedDB, then reloaded. The viewer on the first page, still starting, sometimes read the pairing and sent a hello before the reload. The page after the reload sent its own, so the relay saw hello, hello, bye.The pairing is now written from
markers.html, which is of the same origin but doesn't run the viewer. The test of an ended pairing (410) had the same pattern and gets the same fix.playwright:v1.64.1-noble).🤖 Generated with Claude Code
Tests of CI / e2e: passed
82 passed, 0 failed, 0 skipped (82 tests, 296.6 s)
Of
2668b4722a, the run, updated by every run.Tests of CI / relay: passed
17 passed, 0 failed, 0 skipped (17 tests, 2.7 s) · coverage 83.5% (+0.0 against main)
Of
2668b4722a, the run, updated by every run.