|
|
@ -346,8 +346,11 @@ test.describe('Undo Redo', () => { |
|
|
|
|
|
|
|
|
|
|
|
expect(modifiedWidth).toBeGreaterThan(originalWidth); |
|
|
|
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 }); |
|
|
|
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); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|