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({