Skip to content

Snapshot tests, native only #82

Description

@DrDrewCain

Snapshot tests, native only. Also verified by execution:
image snapshots do not work in the browser. egui_kittest removes
Backends::BROWSER_WEBGPU because its readback path uses blocking
pollster::block_on, so adapter creation fails in-page. Run snapshots on
one platform — lavapipe software rasteriser on Linux, which is
deterministic across runners — store the PNGs in git LFS, call
remove_cursor() and fit_contents() before each, and batch with
SnapshotResults so one run reports every failure rather than the first.
Keep the image count small; prefer plain assertions to pixels.


Source: TODO.md line 2968 — Interface › Testing the interface

Metadata

Metadata

Assignees

No one assigned

    Labels

    interfaceThe studio shell and its panelstestingTest suites and CI gates

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions