Skip to content

Deterministic screenshots: scroll position, and timestamps in PNGs - #41

Merged
ndbroadbent merged 1 commit into
mainfrom
sc-8843-guide
Dec 2, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
sc-8843-guide

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

What DocSpring's two flaky browser specs taught us (Shortcut 8843):

  • Scroll position: a new checklist row and section. Scrolling an element into view while the page still lays out lands somewhere different on each run, so wait until the page stops changing, then scroll (window first, then the element).
  • Find what's flaky: run it five or more times when a difference comes and goes, and compare pixels before hunting a cause. ImageMagick's crop writes the time into the PNG, so the same pixels make a new file on every run.

Docs and the visualci-deterministic skill only; plugin 0.1.39.

ndbroadbent added a commit that referenced this pull request Dec 2, 2026
ndbroadbent added a commit that referenced this pull request Dec 2, 2026
@visualci-com

visualci-com Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #184 · 331 unchanged · no changes

This PR vs base: 7 changed, 34 added, 17 removed since #162, across 4 builds

Updated as builds change. Agents can review with VisualCI's MCP tools.

…pixels before hunting a cause (what DocSpring's flaky specs taught us, sc-8843); plugin 0.1.39
ndbroadbent added a commit that referenced this pull request Dec 2, 2026
@ndbroadbent
ndbroadbent merged commit b14d221 into main Dec 2, 2026
19 checks passed
@ndbroadbent
ndbroadbent deleted the sc-8843-guide branch December 2, 2026 12:04
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.

1 participant