mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-04 17:56:48 +00:00
fix(test): pw test fail issue
This commit is contained in:
@@ -110,7 +110,7 @@ export class LeftSidebarPage extends BasePage {
|
||||
await this.rootPage.waitForTimeout(2000);
|
||||
|
||||
for (let i = 0; i < (await nodes.count()); i++) {
|
||||
const text = await getTextExcludeIconText(nodes.nth(i));
|
||||
const text = await getTextExcludeIconText(nodes.nth(i).getByTestId('nc-workspace-list-title'));
|
||||
if (text.toLowerCase() === param.title.toLowerCase()) {
|
||||
await nodes.nth(i).click({ force: true });
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user