Commit 2bb7b97
fix: keep base image when screenshots differ for reporter
Previously, base_image_path was deleted after comparison when images
differed. This meant the HTML reporter couldn't show the baseline
image — it appeared as a broken "Base" alt text.
The base image is a VCS checkout that gets re-created on next run,
so keeping it has no side effects. The reporter now shows both
baseline and current images side-by-side.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b2dd1a8 commit 2bb7b97
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments