From db1160b685abf0eadffcc52b0448508d0fee3dfa Mon Sep 17 00:00:00 2001 From: mertmit Date: Fri, 15 Sep 2023 14:18:07 +0300 Subject: [PATCH] fix: i18n issue Signed-off-by: mertmit --- packages/nc-gui/components/dashboard/TreeView/BaseOptions.vue | 2 +- tests/playwright/pages/Dashboard/TreeView.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/dashboard/TreeView/BaseOptions.vue b/packages/nc-gui/components/dashboard/TreeView/BaseOptions.vue index 559d3f5f46..90d3205523 100644 --- a/packages/nc-gui/components/dashboard/TreeView/BaseOptions.vue +++ b/packages/nc-gui/components/dashboard/TreeView/BaseOptions.vue @@ -62,7 +62,7 @@ function openQuickImportDialog(type: string) { diff --git a/tests/playwright/pages/Dashboard/TreeView.ts b/tests/playwright/pages/Dashboard/TreeView.ts index e2fd313968..461a510628 100644 --- a/tests/playwright/pages/Dashboard/TreeView.ts +++ b/tests/playwright/pages/Dashboard/TreeView.ts @@ -218,7 +218,7 @@ export class TreeViewPage extends BasePage { await this.getProjectContextMenu({ projectTitle }).hover(); await this.getProjectContextMenu({ projectTitle }).click(); const importMenu = this.dashboard.get().locator('.ant-dropdown-menu'); - await importMenu.locator(`.nc-sub-menu:has-text("Import Data")`).click(); + await importMenu.locator(`.nc-sub-menu:has-text("Quick Import From")`).click(); await this.rootPage.locator(`.ant-dropdown-menu-item:has-text("${title}")`).waitFor(); await this.rootPage.locator(`.ant-dropdown-menu-item:has-text("${title}")`).click(); }