test: capture CHRNX grunge stage review
This commit is contained in:
3 files changed
+216
-76
No files matched your search
@@ -93,11 +93,18 @@ WebP sources, with the original source as a fallback.
|
||||
Capture the approved local review routes with Chromium:
|
||||
|
||||
```sh
|
||||
node scripts/capture-visual-review.mjs
|
||||
CHRNX_REVIEW_URL=http://localhost:8908 node scripts/capture-visual-review.mjs
|
||||
```
|
||||
|
||||
The capture script rejects public hosts and writes its screenshots to
|
||||
`tmp/imagegen/`, which Git ignores.
|
||||
`tmp/imagegen/`, which Git ignores. It captures the rendered Music and Podcasts
|
||||
pages at 375, 768, 1440, and 2560 px in light and dark themes. The long-copy
|
||||
Podcast state changes only the rendered latest-card title and excerpt; it does
|
||||
not write to the database. Source masters remain authoritative, and responsive
|
||||
media must be rebuilt with `scripts/build-responsive-images.sh` after any
|
||||
approved source change. Treat these screenshots as disposable review evidence:
|
||||
keep them uncommitted, obtain visual approval before committing this stage, and
|
||||
do not begin the next visual task until that approval is recorded.
|
||||
|
||||
PHPUnit always runs through wp-env's isolated `tests-cli` database. The browser
|
||||
suite uses the separate development `cli` database; its serial scenario project
|
||||
|
||||
Reference in new issue
Block a user