pcbjam/tests/e2e/utils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 04eebab024 Migrate tests to use rendered element registry for toolbar, menu, layout, and AUI tests
Update tests to use semantic identifiers instead of hardcoded pixel positions:
- toolbar.spec.ts: Use clickToolbarTool('New') instead of click(box.x + 30, box.y + 45)
- menu.spec.ts: Use clickMenuBarItem('File') instead of click(box.x + 30, box.y + 15)
- layout.spec.ts: Use getSplitterSash() to get actual sash position for drag operations
- aui.spec.ts: Use clickAuiButton('close', 'Properties') for panel button clicks

Also extends element-tracker.ts with:
- WxRenderedElement interface for toolbar tools, menu items, sashes, AUI parts
- findRenderedByLabel(), findRenderedByType() query functions
- clickToolbarTool(), clickMenuBarItem(), getSplitterSash(), clickAuiButton() helpers

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 13:06:54 +01:00
..
button-finder.ts Implement wxClipboard and add button finder utility for canvas testing 2025-12-03 10:19:50 +01:00
element-tracker.ts Migrate tests to use rendered element registry for toolbar, menu, layout, and AUI tests 2025-12-29 13:06:54 +01:00
fixtures.ts Add element registry for semantic E2E test automation 2025-12-29 12:11:33 +01:00
test-utils.ts Organize test logs into separate directories by test suite and file 2025-12-27 16:35:40 +01:00