pcbjam/tests/e2e
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 0a093b918e Add element registry for semantic E2E test automation
Replace hardcoded pixel coordinates with semantic element lookups in tests.
The element registry (added to wxWidgets) tracks all wxWindow instances,
enabling tests to find buttons by label text instead of pixel positions.

Changes:
- Add element-tracker.ts with clickByLabel, findByLabel, findByType, etc.
- Migrate clipboard, dialog, timer, filedialog, logerror tests to use registry
- Update fixtures.ts to export element-tracker utilities
- Update README with element registry documentation
- Update wxwidgets submodule with registry implementation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 12:11:33 +01:00
..
baseline-screenshots Fix wxGrid test crash and add debug build support 2025-11-29 22:15:56 +01:00
kicad Fix TypeScript errors in test files 2025-12-27 16:39:04 +01:00
utils Add element registry for semantic E2E test automation 2025-12-29 12:11:33 +01:00
aui.spec.ts Refactor test logging into shared utilities 2025-11-29 20:54:54 +01:00
auinotebook.spec.ts Complete remaining wxWidgets feature tests: DataViewVirtual, AuiNotebook, Wizard, GridEdit, Calendar 2025-12-03 17:16:14 +01:00
bitmapbuttons.spec.ts Add Phase 2 wxWidgets test coverage: grid renderers, print preview, specialized controls 2025-12-03 17:58:47 +01:00
bitmask.spec.ts Add WASM feature tests: font enum, text decor, bitmap mask, regions 2025-12-04 11:06:33 +01:00
button-finder.spec.ts Implement wxClipboard and add button finder utility for canvas testing 2025-12-03 10:19:50 +01:00
calendar.spec.ts Complete remaining wxWidgets feature tests: DataViewVirtual, AuiNotebook, Wizard, GridEdit, Calendar 2025-12-03 17:16:14 +01:00
clipboard.spec.ts Add element registry for semantic E2E test automation 2025-12-29 12:11:33 +01:00
collapsible.spec.ts Add 5 new wxWidgets feature tests: PropertyGrid, Pickers, Collapsible, ListCtrl, InfoBar 2025-12-03 16:57:02 +01:00
dataview.spec.ts Add wxDataViewCtrl, wxHtmlWindow, and wxStyledTextCtrl test apps 2025-12-03 11:27:00 +01:00
dataviewvirtual.spec.ts Complete remaining wxWidgets feature tests: DataViewVirtual, AuiNotebook, Wizard, GridEdit, Calendar 2025-12-03 17:16:14 +01:00
dialog.spec.ts Add element registry for semantic E2E test automation 2025-12-29 12:11:33 +01:00
dialogs.spec.ts Refactor test logging into shared utilities 2025-11-29 20:54:54 +01:00
dnd.spec.ts Add wxDragDrop test app and document coverage gaps 2025-12-03 16:33:27 +01:00
earlysize.spec.ts Add earlysize test for GetClientSize() before Show() 2025-12-14 16:10:08 +01:00
filedialog.spec.ts Add element registry for semantic E2E test automation 2025-12-29 12:11:33 +01:00
fontenum.spec.ts Add WASM feature tests: font enum, text decor, bitmap mask, regions 2025-12-04 11:06:33 +01:00
grid.spec.ts Fix wxGrid test crash and add debug build support 2025-11-29 22:15:56 +01:00
gridedit.spec.ts Complete remaining wxWidgets feature tests: DataViewVirtual, AuiNotebook, Wizard, GridEdit, Calendar 2025-12-03 17:16:14 +01:00
gridrenderers.spec.ts Add Phase 2 wxWidgets test coverage: grid renderers, print preview, specialized controls 2025-12-03 17:58:47 +01:00
htmlwin.spec.ts Add wxDataViewCtrl, wxHtmlWindow, and wxStyledTextCtrl test apps 2025-12-03 11:27:00 +01:00
infobar.spec.ts Add 5 new wxWidgets feature tests: PropertyGrid, Pickers, Collapsible, ListCtrl, InfoBar 2025-12-03 16:57:02 +01:00
layout.spec.ts Refactor test logging into shared utilities 2025-11-29 20:54:54 +01:00
listctrl.spec.ts Add 5 new wxWidgets feature tests: PropertyGrid, Pickers, Collapsible, ListCtrl, InfoBar 2025-12-03 16:57:02 +01:00
logerror.spec.ts Add element registry for semantic E2E test automation 2025-12-29 12:11:33 +01:00
maximize.spec.ts Add stamp source hashing and maximize test infrastructure 2025-12-14 13:28:43 +01:00
menu.spec.ts Refactor test logging into shared utilities 2025-11-29 20:54:54 +01:00
opengl.spec.ts Refactor test logging into shared utilities 2025-11-29 20:54:54 +01:00
ownerdrawn.spec.ts Add Phase 3 test coverage: validators, ownerdrawn, popup, graphicsctx, xml, wasmedge 2025-12-03 18:54:40 +01:00
pickers.spec.ts Add 5 new wxWidgets feature tests: PropertyGrid, Pickers, Collapsible, ListCtrl, InfoBar 2025-12-03 16:57:02 +01:00
popup.spec.ts Add Phase 3 test coverage: validators, ownerdrawn, popup, graphicsctx, xml, wasmedge 2025-12-03 18:54:40 +01:00
print.spec.ts Add wxPrinting test app and verify printing infrastructure works 2025-12-03 15:51:44 +01:00
printpreview.spec.ts Add Phase 2 wxWidgets test coverage: grid renderers, print preview, specialized controls 2025-12-03 17:58:47 +01:00
propgrid.spec.ts Add 5 new wxWidgets feature tests: PropertyGrid, Pickers, Collapsible, ListCtrl, InfoBar 2025-12-03 16:57:02 +01:00
regions.spec.ts Add WASM feature tests: font enum, text decor, bitmap mask, regions 2025-12-04 11:06:33 +01:00
specialized.spec.ts Add Phase 2 wxWidgets test coverage: grid renderers, print preview, specialized controls 2025-12-03 17:58:47 +01:00
stc.spec.ts Add wxDataViewCtrl, wxHtmlWindow, and wxStyledTextCtrl test apps 2025-12-03 11:27:00 +01:00
textdecor.spec.ts Add WASM feature tests: font enum, text decor, bitmap mask, regions 2025-12-04 11:06:33 +01:00
threadpool.spec.ts Fix pthread deadlock by using dynamic PTHREAD_POOL_SIZE 2025-12-15 11:47:50 +01:00
timer.spec.ts Add element registry for semantic E2E test automation 2025-12-29 12:11:33 +01:00
toolbar.spec.ts Refactor test logging into shared utilities 2025-11-29 20:54:54 +01:00
tree.spec.ts Fix tree test console logging during initialization 2025-11-29 22:47:39 +01:00
validators.spec.ts Add Phase 3 test coverage: validators, ownerdrawn, popup, graphicsctx, xml, wasmedge 2025-12-03 18:54:40 +01:00
wasmedge.spec.ts Add Phase 3 test coverage: validators, ownerdrawn, popup, graphicsctx, xml, wasmedge 2025-12-03 18:54:40 +01:00
wizard.spec.ts Complete remaining wxWidgets feature tests: DataViewVirtual, AuiNotebook, Wizard, GridEdit, Calendar 2025-12-03 17:16:14 +01:00
wxwidgets.spec.ts Refactor test logging into shared utilities 2025-11-29 20:54:54 +01:00
xml.spec.ts Add Phase 3 test coverage: validators, ownerdrawn, popup, graphicsctx, xml, wasmedge 2025-12-03 18:54:40 +01:00