visual-test
Installation
SKILL.md
Writing Visual Tests for UI5 Web Components
Visual tests live in packages/main/cypress/specs/visuals/ and capture
screenshots of a component at key states. They are intentionally minimal —
their job is to record what the component looks like, not to assert on DOM
internals.
One component per file
Each file tests exactly ONE component. Do not import unrelated components.
If the component uses child items (e.g. MultiComboBoxItem inside
MultiComboBox), those child imports are fine — they are part of the same
component family.
Wrong: importing RangeSlider in a MultiComboBox test just to
demonstrate a layout.
Right: only MultiComboBox + MultiComboBoxItem.