test: use targeted screenshots instead of full-canvas captures

Screenshot tests now clip to specific nodes/regions instead of
capturing the entire canvas. This reduces screenshot size and
makes tests more focused on what they actually verify.

- Add getNodeClipRegion() helper for computing page-coordinate
  clip regions from LiteGraph node positions
- Convert 28 full-canvas screenshots to targeted clips across
  widget, nodeDisplay, primitiveNode, noteNode, recordAudio specs
- Use Vue node locators for mute, bypass, and color state tests
- Close floating menu in beforeEach for tests using UseNewMenu=Disabled
- Delete old golden images (will be regenerated in CI)
This commit is contained in:
Johnpaul
2026-04-13 22:16:11 +01:00
parent e39468567a
commit 9b7c35dae1
37 changed files with 216 additions and 48 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB