From 2ecb79996de4196ce2102e3ce2935504784778fa Mon Sep 17 00:00:00 2001 From: Viktor Vaczi Date: Thu, 1 Jan 2026 17:43:43 +0100 Subject: [PATCH] Fix KiCad test logs not being saved MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/kicad/pcbnew.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kicad/pcbnew.spec.ts b/tests/kicad/pcbnew.spec.ts index c04e73d..4197178 100644 --- a/tests/kicad/pcbnew.spec.ts +++ b/tests/kicad/pcbnew.spec.ts @@ -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 });