|
|
|
@ -32,7 +32,7 @@ async function undo({ page, dashboard }: { page: Page; dashboard: DashboardPage
|
|
|
|
|
await dashboard.grid.waitForResponse({ |
|
|
|
|
uiAction: async () => await page.keyboard.press(isMac ? 'Meta+z' : 'Control+z'), |
|
|
|
|
httpMethodsToMatch: ['GET'], |
|
|
|
|
requestUrlPathToMatch: `/api/v1/db/auth/noco/`, |
|
|
|
|
requestUrlPathToMatch: `/api/v1/db/data/noco`, |
|
|
|
|
responseJsonMatcher: json => json.pageInfo, |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
@ -593,7 +593,7 @@ test.describe('Undo Redo - LTAR', () => {
|
|
|
|
|
await dashboard.grid.waitForResponse({ |
|
|
|
|
uiAction: async () => await page.keyboard.press(isMac ? 'Meta+z' : 'Control+z'), |
|
|
|
|
httpMethodsToMatch: ['GET'], |
|
|
|
|
requestUrlPathToMatch: `/api/v1/db/auth/noco/`, |
|
|
|
|
requestUrlPathToMatch: `/api/v1/db/data/noco`, |
|
|
|
|
responseJsonMatcher: json => json.pageInfo, |
|
|
|
|
}); |
|
|
|
|
await verifyRecords(values); |
|
|
|
|