Writing Visual Tests

Use when a developer wants to add a visual regression (screenshot) test for an Opik UI page or panel — e.g. "add a visual test for the trace sidebar", "screenshot each tab of the dataset panel", "visual regression test for the new empty state". Covers the page-object pattern, seeding via the test-helper-service, unique screenshot naming, per-test masking, baseline (re)generation, and the local-run-until-stable loop in tests_end_to_end/visual-tests/.

comet-ml 61a185b 33.6 KB Updated

File contents

comet-ml/opik commit 61a185b85b

Frequently asked questions

npx skillmds@latest add comet-ml/writing-visual-tests