Skip to content

fix: honour updateImages: true when createMissingImages is off - #417

Closed
FRSgit wants to merge 1 commit into
feat/major-5from
fix/update-images-without-create-missing
Closed

FRSgit wants to merge 1 commit into
feat/major-5from
fix/update-images-without-create-missing

Conversation

@FRSgit

@FRSgit FRSgit commented Sep 21, 2026

Copy link
Copy Markdown
Member

With updateImages: true we skip the comparison and the new screenshot is supposed to become the baseline. But the actual write was gated on createMissingImages only, so with createMissingImages: false the task failed with "Baseline image is missing" even when the baseline existed and the user explicitly asked to update it.

Small condition change plus two tests (baseline present, baseline missing).

馃 Generated with Claude Code

With `updateImages: true` the comparison is skipped and the new screenshot
is meant to become the baseline, but the write was gated on
`createMissingImages` only. With `createMissingImages: false` the task
therefore failed with "Baseline image is missing" even when the baseline
existed and the user had explicitly asked for it to be updated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@FRSgit

FRSgit commented Sep 21, 2026

Copy link
Copy Markdown
Member Author

It's good - we want to allow user to enable image updating but without creation of new images (for not covered yet paths)

@FRSgit FRSgit closed this Sep 21, 2026
@FRSgit
FRSgit deleted the fix/update-images-without-create-missing branch September 21, 2026 23:55
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