Browse Source

fix: Added a temp fix with column resize undo test

pull/6815/head
Muhammed Mustafa 8 months ago
parent
commit
f06e43ee98
  1. 5
      tests/playwright/tests/db/features/undo-redo.spec.ts

5
tests/playwright/tests/db/features/undo-redo.spec.ts

@ -346,8 +346,11 @@ test.describe('Undo Redo', () => {
expect(modifiedWidth).toBeGreaterThan(originalWidth);
// TODO: Seems to be an issue with undo only in the case of test where we need to undo twice for this test
await page.keyboard.press('Meta+z');
await undo({ page, dashboard });
expect(await dashboard.grid.column.getWidth({ title: 'Number' })).toBe(originalWidth);
await expect.poll(async () => await dashboard.grid.column.getWidth({ title: 'Number' })).toBe(originalWidth);
});
});

Loading…
Cancel
Save