diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Header.vue b/packages/nc-gui/components/smartsheet/expanded-form/Header.vue index 83046ec0c5..991daa19e2 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/Header.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/Header.vue @@ -127,12 +127,18 @@ const onConfirmDeleteRowClick = async () => { /> - + {{ $t('general.save') }} - + - + - -

Are you sure you want to delete this row?

-
+ +
+
Delete row ?
+ +
Are you sure you want to delete this row?
+
+
+ {{ $t('general.cancel') }} + {{ $t('general.confirm') }} +
+
diff --git a/tests/playwright/pages/Dashboard/ExpandedForm/index.ts b/tests/playwright/pages/Dashboard/ExpandedForm/index.ts index 50d93d846b..2d159e6bb8 100644 --- a/tests/playwright/pages/Dashboard/ExpandedForm/index.ts +++ b/tests/playwright/pages/Dashboard/ExpandedForm/index.ts @@ -51,7 +51,7 @@ export class ExpandedFormPage extends BasePage { async clickDeleteRow() { await this.click3DotsMenu('Delete Row'); - await this.rootPage.locator('.ant-btn-primary:has-text("OK")').click(); + await this.rootPage.locator('.ant-btn-primary:has-text("Confirm")').click(); } async isDisabledDuplicateRow() {