fix: Integrated new import csv changes to tests

This commit is contained in:
Muhammed Mustafa
2023-11-14 11:41:42 +00:00
parent 5ac0b8cf59
commit 9ccb96dcca

View File

@@ -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;