| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Enable Asyncify for modal dialogs (ShowModal blocks until user closes) - Add ASYNCIFY build flags to Makefile.wasm - Fix dialog.spec.ts tests to use canvas coordinates (wxWidgets renders to canvas) - Update WHATWORKS.md: 83 tests pass, dialog tests now 5/5 The wxwidgets submodule commit includes: - Enabled startModal() Asyncify call in ShowModal() - Enabled EM_ASM endModal cleanup in EndModal() - Note: WASM code in src/univ/dialog.cpp will be refactored to src/wasm/dialog.cpp in follow-up for cleaner architecture 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
| .. | ||
| e2e | ||
| wasm-app | ||
| GL_README.md | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.json | ||
| WHATWORKS.md | ||
KiCad WASM Tests
Playwright tests for verifying the wxWidgets WASM port.
Prerequisites
- Node.js 18+
- Emscripten SDK (for building)
Building the Test App
../scripts/build-wasm-test.sh
This builds wasm-app/minimal_test.{html,js,wasm}.
Running Tests
npm install
npm test
Viewing the App Directly
Start a local server in the wasm-app directory:
cd wasm-app
npx serve .
Then open http://localhost:3000/minimal_test.html in your browser.
Alternative using Python:
cd wasm-app
python3 -m http.server 8000
Then open http://localhost:8000/minimal_test.html