@mcqj/vexflow 0.0.1-alpha.6 → 0.0.1-alpha.8

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
@@ -74,6 +74,12 @@ Run the complete Vitest suite once:
74
74
  npm test
75
75
  ```
76
76
 
77
+ *or*
78
+
79
+ ```sh
80
+ npm run dev:nocache # rebuilds the node_modules cache for a clean run
81
+ ```
82
+
77
83
  Run Vitest in watch mode while developing:
78
84
 
79
85
  ```sh
@@ -93,7 +99,21 @@ Update committed visual baselines deliberately after reviewing an intentional re
93
99
  npm run test:visual:update
94
100
  ```
95
101
 
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.
102
+ To update only the snapshots exercised by one named Playwright test, pass its title to `-g`. For example, update the Barline visual cases:
103
+
104
+ ```sh
105
+ npx playwright test -g 'matches source-rendered barline cases' --update-snapshots
106
+ ```
107
+
108
+ 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.
109
+
110
+ 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/`:
111
+
112
+ ```sh
113
+ npx playwright show-report build/playwright-report
114
+ ```
115
+
116
+ The committed snapshots are macOS Chromium baselines, and CI runs the visual suite on macOS to match them.
97
117
 
98
118
  The legacy reference-image workflow generates images with the Playwright backend:
99
119