diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 16:43:53 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 16:43:53 -0400 |
| commit | c51f24d4a5ff055bd825dc7383a981796def97fc (patch) | |
| tree | b6de21f82c98c42dcf365917acf307882e601dac /scripts/theme-studio/test_generate.py | |
| parent | 793eaac88e66b2f5e94df4b6f454a7530fb24169 (diff) | |
| download | dotemacs-c51f24d4a5ff055bd825dc7383a981796def97fc.tar.gz dotemacs-c51f24d4a5ff055bd825dc7383a981796def97fc.zip | |
refactor(theme-studio): extract assertPreviewFaces for the 3 preview-face gates
The #mdtest, #mupreviewtest, and #gnustest browser gates each copy-pasted the
same preview-face validation: render the preview, assert it exercises enough
data-faces, that every data-face is real for the package, and that the required
faces are present. Lift that into one assertPreviewFaces(A, html, faces, min,
name, required) helper. Each gate keeps its literal location.hash==='#NAMEtest'
check (run-tests.sh greps that to discover gates) and its own title/result-div.
Verified: all 44 gates green, and a deliberately-broken required face still makes
its gate report FAIL (the helper can't manufacture greens).
Diffstat (limited to 'scripts/theme-studio/test_generate.py')
0 files changed, 0 insertions, 0 deletions
