From 83663ed6180cd4bd3c2bab8c4d9bd3e0978b256f Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Mon, 7 Nov 2022 11:20:39 +0530 Subject: [PATCH] fix(test): Fixed junction table name verification in PW test --- scripts/playwright/pages/Dashboard/commonBase/Erd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/playwright/pages/Dashboard/commonBase/Erd.ts b/scripts/playwright/pages/Dashboard/commonBase/Erd.ts index 3297bb20a8..503a544475 100644 --- a/scripts/playwright/pages/Dashboard/commonBase/Erd.ts +++ b/scripts/playwright/pages/Dashboard/commonBase/Erd.ts @@ -89,7 +89,7 @@ export abstract class ErdBasePage extends BasePage { } async verifyJunctionTableLabel({ tableTitle, tableName }: { tableName: string; tableTitle: string }) { - await await this.vueFlow().locator(`.nc-erd-table-label-${tableTitle}-${tableName}`).locator('text').waitFor({ + await this.vueFlow().locator(`.nc-erd-table-label-${tableTitle}-${tableName}`).waitFor({ state: 'visible', }); }