feat(test): Update wizard test to use dynamic button labels

- Test now correctly finds "Finish" button on last wizard page
- Added CLAUDE.md note about running e2e tests via npm scripts
- Simplified test to click through wizard with proper button detection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Viktor Vaczi 2026-01-12 15:17:03 +01:00
commit 528ed97692
4 changed files with 42 additions and 23 deletions

View file

@ -10,6 +10,7 @@ The test have screenshots that are tracked with git, use compare-screenshots.sh
Update test images with /scripts/update-baseline-screenshots.sh when a new image is added
The tests have log files in tests/logs/{wxwidgets/kicad}/{test-name} after each run where the js console and cpp logs are visible
Always check screenshots for validating tests
Run e2e tests from /tests folder: `npm run test:kicad` or `npm run test:e2e` (not playwright directly)
Build wxwidgets with scripts/build-wxuniversal-wasm.sh
Build kicad with docker/build.sh