Browse Source

fix(test): Fixed junction table name verification in PW test

pull/4289/head
Muhammed Mustafa 2 years ago
parent
commit
83663ed618
  1. 2
      scripts/playwright/pages/Dashboard/commonBase/Erd.ts

2
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',
});
}

Loading…
Cancel
Save