From 1f0aef7ff2a613ef682f0aaa36343170134efee1 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 27 Jun 2026 00:13:08 +0000 Subject: [PATCH] Add debugging to playwright test --- src/frontend/tests/pages/pui_dashboard.spec.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/frontend/tests/pages/pui_dashboard.spec.ts b/src/frontend/tests/pages/pui_dashboard.spec.ts index c02aaeec81..515f632ba4 100644 --- a/src/frontend/tests/pages/pui_dashboard.spec.ts +++ b/src/frontend/tests/pages/pui_dashboard.spec.ts @@ -184,9 +184,10 @@ test('Dashboard - Preserve widget sizes', async ({ browser }) => { const current = await readLayouts(page); const inflated: Record = {}; for (const bp of Object.keys(current)) { - inflated[bp] = current[bp].map((it: any) => - it?.i === 'ovr-so' ? { ...it, w: TARGET_W, h: TARGET_H } : it - ); + inflated[bp] = current[bp].map((it: any) => { + console.log('inflating it:', bp, it); + return it?.i === 'ovr-so' ? { ...it, w: TARGET_W, h: TARGET_H } : it; + }); } const api = createApi({