diff --git a/tests/playwright/pages/Dashboard/Details/ErdPage.ts b/tests/playwright/pages/Dashboard/Details/ErdPage.ts index e327b9cfdc..baf79f4930 100644 --- a/tests/playwright/pages/Dashboard/Details/ErdPage.ts +++ b/tests/playwright/pages/Dashboard/Details/ErdPage.ts @@ -39,6 +39,8 @@ export class ErdPage extends BasePage { columnName?: string; columnNameShouldNotExist?: string; }) { + await this.get().locator(`.nc-erd-table-node-${tableName}`).scrollIntoViewIfNeeded(); + await this.get().locator(`.nc-erd-table-node-${tableName}`).waitFor({ state: 'visible' }); if (columnName) { await this.get().locator(`.nc-erd-table-node-${tableName}-column-${columnName}`).waitFor({ state: 'visible' });