Browse Source

fix: Integrated new import csv changes to tests

pull/6990/head
Muhammed Mustafa 1 year ago
parent
commit
9ccb96dcca
  1. 6
      tests/playwright/pages/Dashboard/Import/ImportTemplate.ts

6
tests/playwright/pages/Dashboard/Import/ImportTemplate.ts

@ -23,7 +23,11 @@ export class ImportTemplatePage extends BasePage {
const rowCount = await tr.count();
const tableList: string[] = [];
for (let i = 0; i < rowCount; i++) {
const tableName = await getTextExcludeIconText(tr.nth(i));
const tableName = await this.get()
.locator(`.ant-collapse-header`)
.nth(i)
.locator('input[type="text"]')
.inputValue();
tableList.push(tableName);
}
return tableList;

Loading…
Cancel
Save