Add debugging to playwright test
This commit is contained in:
parent
721807b034
commit
1f0aef7ff2
|
|
@ -184,9 +184,10 @@ test('Dashboard - Preserve widget sizes', async ({ browser }) => {
|
|||
const current = await readLayouts(page);
|
||||
const inflated: Record<string, any[]> = {};
|
||||
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({
|
||||
|
|
|
|||
Loading…
Reference in New Issue