From ebe2c915b90a7ba20ef0accb9a7e4c7f73a88c20 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 2 Oct 2023 18:34:20 +0000 Subject: [PATCH] fix: label correction --- .../playwright/pages/Dashboard/common/LeftSidebar/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts b/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts index 31ca735ab2..fded013396 100644 --- a/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts +++ b/tests/playwright/pages/Dashboard/common/LeftSidebar/index.ts @@ -35,10 +35,10 @@ export class LeftSidebarPage extends BasePage { async createProject({ title, context }: { title: string; context: NcContext }) { title = isEE() ? title : `nc-${context.workerId}-${title}`; await this.btn_newProject.click(); - await this.rootPage.locator('.ant-modal-content:has-text(" Create Database")').waitFor(); - await this.rootPage.locator('.ant-modal-content:has-text(" Create Database")').locator('input').fill(title); + await this.rootPage.locator('.ant-modal-content:has-text(" Create Base")').waitFor(); + await this.rootPage.locator('.ant-modal-content:has-text(" Create Base")').locator('input').fill(title); await this.rootPage - .locator('.ant-modal-content:has-text(" Create Database")') + .locator('.ant-modal-content:has-text(" Create Base")') .locator('button.ant-btn-primary') .click(); }