#271 Flaky WebKit browser test: a query request is blocked "due to access control checks" in the drafts check
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#271
- issue
- state:closed
`test/browser.mjs` under WebKit intermittently fails at `checkDrafts` (test/drafts-browser.mjs:277), whose console check collects an error: ``` /localhost:5173/api/timelines/00000000-0000-0000-0000-0000000000aa/query due to access control checks. ``` Seen on PR #270's CI (Browser / webkit) and twice locally in the Playwright 1.58.2 container; a rerun passes. It looks like a request to the test server still in flight when the page navigates or the test's fake server is torn down, which WebKit reports as an access-control failure. The check should wait for, or abort, outstanding requests before asserting on console errors, or the test should ignore this WebKit cancellation message. https://github.com/openchronology/timeline-app/issues/271
Related
- #270 Durations that overlap never share a row beneath the axis (#269)
- #272 Fit a duration in the view, from its menu or its details (#268)
- #273 The drafts browser test ignores WebKit's cancelled requests (#271)
- #278 Live polling skips timelines that left the screen
- #297 Accounts agree to the terms and privacy policy, and it is recorded
- Merge pull request #273 from openchronology/fix/271-webkit-flake
- The drafts browser test ignores WebKit's cancelled requests (#271)