Skip to content

Pause paging test clock after its current time - #1262

Merged
max-sixty merged 2 commits into
mainfrom
fix/ci-36279433678
Sep 27, 2026
Merged

max-sixty merged 2 commits into
mainfrom
fix/ci-36279433678

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

The nightly navigation test installed a browser clock at zero, let it advance, then asked Playwright to pause at zero. The paging test now pauses beyond the clock's current time. It uses controlled time to inspect the brief interval before the hint map settles after native PageDown; the resize test only needs the final visible result and now waits for that without a clock.

The run's other failure was a demo recording timeout while waiting for a margin thread. PR #1250 subsequently changed the recording to wait for complete page readiness; the demo test passed locally on current main with the installed Playwright browser.

Verification: the two focused navigation tests pass locally. The prior run also passed test_demo_recording_drives_the_browser_journey locally. A delayed clock setup reproduced Playwright's Cannot fast-forward to the past error before this change.

@max-sixty

Copy link
Copy Markdown
Owner

why are we running clocks at all? is that needed?

@leaf-agent leaf-agent changed the title Pause navigation test clocks after their current time Pause paging test clock after its current time Sep 27, 2026
@leaf-agent

Copy link
Copy Markdown
Collaborator Author

For the paging test, yes: it asserts that hints are still hidden during native PageDown, before the 80 ms settle window ends. Without a controlled clock, the driver can reach that assertion after the transient state has passed. The resize test only asserts the settled result, so I removed its clock and let the visibility assertion wait for the page. Both focused tests pass locally with that change.

@max-sixty
max-sixty merged commit cd66898 into main Sep 27, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/ci-36279433678 branch September 27, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants