@mcqj/vexflow 0.0.1-alpha.5 → 0.0.1-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -93,7 +93,21 @@ Update committed visual baselines deliberately after reviewing an intentional re
93
93
  npm run test:visual:update
94
94
  ```
95
95
 
96
- Playwright stores failure artifacts in `build/playwright-artifacts/`. The committed snapshots are macOS Chromium baselines, and CI runs the visual suite on macOS to match them.
96
+ To update only the snapshots exercised by one named Playwright test, pass its title to `-g`. For example, update the Barline visual cases:
97
+
98
+ ```sh
99
+ npx playwright test -g 'matches source-rendered barline cases' --update-snapshots
100
+ ```
101
+
102
+ Inspect the changed PNG files with `git diff` before committing them. A title can cover multiple screenshots, so prefer the most specific test title available and never update baselines for an unexplained difference.
103
+
104
+ Playwright stores failure artifacts in `build/playwright-artifacts/`, including expected, actual, and pixel-diff images. Each run also writes an HTML report to `build/playwright-report/`:
105
+
106
+ ```sh
107
+ npx playwright show-report build/playwright-report
108
+ ```
109
+
110
+ The committed snapshots are macOS Chromium baselines, and CI runs the visual suite on macOS to match them.
97
111
 
98
112
  The legacy reference-image workflow generates images with the Playwright backend:
99
113