egui/crates/egui_kittest/tests/snapshots
Emil Ernerfeldt aedd43c88f
kittest: Add `UPDATE_SNAPSHOTS=force` (#7508)
This adds a new mode, `UPDATE_SNAPSHOTS=force`, which will lower the
threshold to zero, overwriting every image that is not _exactly_ the
same.

Most comparisons has a threshold because different GPUs render slightly
differently. However, setting that threshold accurately can be hard.

Sometimes a test will pass locally, but fail on CI. In those cases you
want to force an update of the failing test. You can use
`UPDATE_SNAPSHOTS=force` for that.

And sometimes a small change _should_ update all images, but the change
is so tiny that it falls under the threshold. Still, you want to make a
point of showing that these images have changes. You can use
`UPDATE_SNAPSHOTS=force` for that.
2025-09-05 16:45:36 +02:00
..
menu kittest: Add `UPDATE_SNAPSHOTS=force` (#7508) 2025-09-05 16:45:36 +02:00
combobox_closed.png Improve text sharpness (#5838) 2025-03-21 12:56:47 +01:00
combobox_opened.png kittest: Add `UPDATE_SNAPSHOTS=force` (#7508) 2025-09-05 16:45:36 +02:00
image_snapshots.png Improve text sharpness (#5838) 2025-03-21 12:56:47 +01:00
override_text_color_interactive.png kittest: Add `UPDATE_SNAPSHOTS=force` (#7508) 2025-09-05 16:45:36 +02:00
readme_example.png kittest: Add `UPDATE_SNAPSHOTS=force` (#7508) 2025-09-05 16:45:36 +02:00
should_wait_for_images.png kittest: Add `UPDATE_SNAPSHOTS=force` (#7508) 2025-09-05 16:45:36 +02:00
test_masking.png Allow masking widgets in kittest snapshots (#7467) 2025-08-21 17:46:36 +02:00
test_scroll_initial.png Add support for scrolling via accesskit / kittest (#7286) 2025-07-03 12:02:05 +02:00
test_scroll_scrolled.png Add support for scrolling via accesskit / kittest (#7286) 2025-07-03 12:02:05 +02:00
test_shrink.png Improve text sharpness (#5838) 2025-03-21 12:56:47 +01:00