Viktor Vaczi
8f803b45ea
fix(test): Fix WebGL screenshot capture and comparison
...
1. Fix gal-webgl.spec.ts sequential test:
- Wait for isReady() not just module existence
- Use .gl-canvas selector (same as individual tests)
- Increase timeout from 50ms to 100ms
- This fixes blank screenshots in full test runs
2. Fix test-gal-regression.sh comparison:
- Normalize PNG format before comparing (flatten + sRGB TrueColor)
- This handles RGBA vs RGB and palette differences
- gal-basic-lines now passes comparison (0.34% different)
Results after fixes:
- Native vs Baseline: PASSED (28/28)
- WebGL screenshots now capture actual rendered content
- gal-basic-lines matches native (first successful scenario!)
- Other scenarios have rendering differences to investigate
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 11:32:39 +01:00
..
baseline-screenshots
Fix wxGrid test crash and add debug build support
2025-11-29 22:15:56 +01:00
utils
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
aui.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
auinotebook.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
bitmapbuttons.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
bitmask.spec.ts
Add WASM feature tests: font enum, text decor, bitmap mask, regions
2025-12-04 11:06:33 +01:00
calendar.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
clipboard.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
collapsible.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
dataview.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
dataviewvirtual.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
dialog.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
dialogs.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
dnd.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
earlysize.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
filedialog.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
fontenum.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
gal-webgl.spec.ts
fix(test): Fix WebGL screenshot capture and comparison
2026-01-08 11:32:39 +01:00
grid.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
gridedit.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
gridrenderers.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
htmlwin.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
infobar.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
layout.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
listctrl.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
logerror.spec.ts
Add element registry for semantic E2E test automation
2025-12-29 12:11:33 +01:00
maximize.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
menu.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
opengl.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
ownerdrawn.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
pickers.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
popup.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
print.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
printpreview.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
propgrid.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +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
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
stc.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +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
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
timer.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
toolbar.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
tree.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
validators.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
wasmedge.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
wizard.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
wxwidgets.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
xml.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00