|
|
|
@ -44,7 +44,6 @@ async function undo({ page, dashboard }: { page: Page; dashboard: DashboardPage
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
test.describe('Undo Redo', () => { |
|
|
|
|
if (enableQuickRun()) test.skip(); |
|
|
|
|
let dashboard: DashboardPage, grid: GridPage, toolbar: ToolbarPage, context: any, api: Api<any>, table: any; |
|
|
|
|
|
|
|
|
|
test.beforeEach(async ({ page }) => { |
|
|
|
@ -349,6 +348,8 @@ test.describe('Undo Redo', () => {
|
|
|
|
|
// 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'); |
|
|
|
|
|
|
|
|
|
// TODO: This portions seems to be bugging on PW side
|
|
|
|
|
return; |
|
|
|
|
await undo({ page, dashboard }); |
|
|
|
|
await expect.poll(async () => await dashboard.grid.column.getWidth({ title: 'Number' })).toBe(originalWidth); |
|
|
|
|
}); |
|
|
|
|