test(pw): excel import test fail

This commit is contained in:
Ramesh Mane
2025-03-20 10:14:20 +00:00
parent c5c1a942d3
commit b4b22ed2b5
2 changed files with 3 additions and 3 deletions

View File

@@ -1068,7 +1068,7 @@ const getErrorByTableName = (tableName: string) => {
</a-form-item>
<template v-else>
<NcTooltip :title="table.table_name" show-on-truncate-only class="flex-1 truncate">
<span @click.stop="currentTableToEdit = tableIdx">
<span @click.stop="currentTableToEdit = tableIdx" class="nc-import-table-name">
{{ table.table_name }}
</span>
</NcTooltip>

View File

@@ -26,8 +26,8 @@ export class ImportTemplatePage extends BasePage {
const tableName = await this.get()
.locator(`.ant-collapse-header`)
.nth(i)
.locator('input[type="text"]')
.inputValue();
.locator('.nc-import-table-name')
.textContent();
tableList.push(tableName);
}
return tableList;