test(e2e): fix wx suite — header deps, port pinning, drop legacy-GL tests, wx+pthread worker fix
Suite went 64 failed → 291 passed / 0 failed: - Makefile.wasm: compile with -MMD -MP and include .d files — stale objects relinked against a newer wx lib crashed apps at startup with "function signature mismatch" after any header/vtable change - playwright(.coroutine).config.ts: pin the server port for the whole run (resolvePort from playwright-kicad.config.ts); the 60s freshness window made workers restarted after a failure rotate to a dead port (ERR_CONNECTION_REFUSED cascade across ~50 tests) - drop legacy-GL testing: KiCad renders via WebGL GAL (gal-webgl.spec.ts); remove minimal_test's OpenGL tab/GLTestCanvas, opengl.spec.ts, GL z-order describes, -sLEGACY_GL_EMULATION + gl_immediate_shim.js from the test build, and the orphaned GL baselines - coroutine-pthread repro apps join the `all` target (make clean used to delete them while all never rebuilt them); clean no longer eats checked-in JS like worker_dom_stub.js - bump wxwidgets: guard module-eval document access so wx+pthread apps (threadpool tests) survive Web Worker eval Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
107fc7513f
commit
7629ab978d
53 changed files with 119 additions and 1060 deletions
|
|
@ -42,7 +42,6 @@ tests/
|
|||
│ ├── dialog.spec.ts # wxDialog/wxMessageBox tests
|
||||
│ ├── tree.spec.ts # wxTreeCtrl tests
|
||||
│ ├── grid.spec.ts # wxGrid/wxSpinCtrl/wxSearchCtrl tests
|
||||
│ ├── opengl.spec.ts # OpenGL tab tests
|
||||
│ ├── wxwidgets.spec.ts # Comprehensive UI interaction tests
|
||||
│ └── ...
|
||||
├── logs/ # Test logs (auto-generated)
|
||||
|
|
@ -102,13 +101,12 @@ Then open http://localhost:8000/minimal_test.html
|
|||
|
||||
| Spec File | Tests | Description |
|
||||
|-----------|-------|-------------|
|
||||
| `wxwidgets.spec.ts` | Comprehensive | Full UI interaction, stability, OpenGL |
|
||||
| `wxwidgets.spec.ts` | Comprehensive | Full UI interaction, stability |
|
||||
| `menu.spec.ts` | wxMenuBar | Menu bar visibility and interactions |
|
||||
| `timer.spec.ts` | wxTimer | Timer start/stop/reset functionality |
|
||||
| `dialog.spec.ts` | wxDialog | Message boxes and custom dialogs |
|
||||
| `tree.spec.ts` | wxTreeCtrl | Tree control with expand/collapse |
|
||||
| `grid.spec.ts` | wxGrid | Grid, SpinCtrl, SearchCtrl |
|
||||
| `opengl.spec.ts` | OpenGL | GL tests (immediate mode, vertex arrays) |
|
||||
| `aui.spec.ts` | wxAuiManager | Dockable panels |
|
||||
| `clipboard.spec.ts` | wxClipboard | Copy/paste operations |
|
||||
| `dataview.spec.ts` | wxDataViewCtrl | List and tree data views (Zone Manager-like) |
|
||||
|
|
|
|||
Loading…
Reference in a new issue