Fix KiCad test logs not being saved

Add testLogger fixture parameter to the first test so the logging
fixture lifecycle runs and writes console output to logs/kicad/pcbnew/.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Viktor Vaczi 2026-01-01 17:43:43 +01:00
commit 2ecb79996d

View file

@ -17,7 +17,7 @@ test.describe('PCBnew WASM', () => {
await page.goto('/kicad/pcbnew.html');
});
test('should load PCBnew WASM module', async ({ page }) => {
test('should load PCBnew WASM module', async ({ page, testLogger }) => {
// Wait for main canvas to be visible (KiCad takes time to initialize)
await expect(page.locator('#canvas')).toBeVisible({ timeout: 90000 });