test(pl_editor): commit screenshot baseline + fix dialog screenshot timing
Adds a 600ms wait between the wxFileDialog appearing in the registry and the screenshot in tests/kicad/pl_editor.spec.ts. Without it, the dialog object exists but its MEMFS readdir (asyncified) hasn't returned yet, so the screenshot caught a half-painted black rectangle — fine for the registry-based assertion but useless as a pixel baseline. Commits the 10 pl_editor screenshots produced by the spec as the baseline reference under tests/baseline-screenshots/. Bumps the wxwidgets submodule pointer to pick up the expanded comment on the wxGenericFileDialog::OnOk fix (explains why the patch lives in the generic dialog instead of src/wasm/ — OnOk is the join point for both the OK button and <Enter> via the dialog's compile-time event table, so subclassing in wasm/ wouldn't intercept either). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
d735779e23
commit
8fd78d42b2
12 changed files with 7 additions and 1 deletions
BIN
tests/baseline-screenshots/pl_editor-wizard-03.png
Normal file
BIN
tests/baseline-screenshots/pl_editor-wizard-03.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
Loading…
Reference in a new issue