test(docs): fix WebKit preview readiness races - #61
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WebKit CI intermittently captured the server-rendered fallback iframe before hydration replaced it, causing a detached-frame error in the reduced-motion test and a false iframe-identity failure in the source inspector test. Wait for the live preview readiness signal before accessing either iframe.
Sample the interrupted device morph at a fixed intermediate time so animation clock advancement cannot appear as a geometry discontinuity across the click handler. Resume remaining animations while navigation is blocked, ensuring an incorrectly retained morph still fails the existing stability assertion. All geometry tolerances, iframe identity checks, next-frame timing assertions, and CI retry policies remain intact.
Validation: reproduced fallback iframe replacement by delaying parent hydration; 60 focused Chromium/Firefox runs (10 repetitions per affected test and browser) passed without retries; formatting, ESLint, and TypeScript checks passed. Ubuntu WebKit and the full suite run in PR CI because the installed WebKit browser cannot launch on this macOS version. No library or published package changes.