diff --git a/tests/playwright/tests/db/undo-redo.spec.ts b/tests/playwright/tests/db/undo-redo.spec.ts index fc1c5abdb1..52b402bf4c 100644 --- a/tests/playwright/tests/db/undo-redo.spec.ts +++ b/tests/playwright/tests/db/undo-redo.spec.ts @@ -5,6 +5,7 @@ import { Api, UITypes } from 'nocodb-sdk'; import { rowMixedValue } from '../../setup/xcdb-records'; import { GridPage } from '../../pages/Dashboard/Grid'; import { ToolbarPage } from '../../pages/Dashboard/common/Toolbar'; +import { isSqlite } from '../../setup/db'; let dashboard: DashboardPage, grid: GridPage, @@ -591,6 +592,10 @@ test.describe('Undo Redo - LTAR', () => { }); test('Row with links: Delete & Undo', async ({ page }) => { + // SQLite has foreign key constraint disabled by default & hence below test + // will work even for ext DB + if (!isSqlite(context)) test.skip(); + await dashboard.closeTab({ title: 'Team & Auth' }); await dashboard.treeView.openTable({ title: 'Country' });