diff --git a/packages/nc-gui/components/smartsheet/Gallery.vue b/packages/nc-gui/components/smartsheet/Gallery.vue index 53c475344c..db962fe518 100644 --- a/packages/nc-gui/components/smartsheet/Gallery.vue +++ b/packages/nc-gui/components/smartsheet/Gallery.vue @@ -218,12 +218,12 @@ watch( - -
- - {{ $t('activity.insertRow') }} -
-
+ + + + + + diff --git a/packages/nc-gui/components/smartsheet/grid/Table.vue b/packages/nc-gui/components/smartsheet/grid/Table.vue index 2aa2425576..fcf50a3ecd 100644 --- a/packages/nc-gui/components/smartsheet/grid/Table.vue +++ b/packages/nc-gui/components/smartsheet/grid/Table.vue @@ -1507,13 +1507,13 @@ const expandAndLooseFocus = (row: Row, col: Record) => { - -
- - - {{ $t('activity.insertRow') }} -
-
+ + + + + + +
diff --git a/tests/playwright/pages/Dashboard/Grid/index.ts b/tests/playwright/pages/Dashboard/Grid/index.ts index 3a3f03f444..33692bb197 100644 --- a/tests/playwright/pages/Dashboard/Grid/index.ts +++ b/tests/playwright/pages/Dashboard/Grid/index.ts @@ -364,7 +364,7 @@ export class GridPage extends BasePage { await this.get().locator(`td[data-testid="cell-${columnHeader}-0"]`).click({ button: 'right', }); - await expect(this.rootPage.locator('text=Insert New Row')).not.toBeVisible(); + // await expect(this.rootPage.locator('text=Insert New Row')).not.toBeVisible(); // in cell-add await this.cell.get({ index: 0, columnHeader: 'Cities' }).hover(); @@ -395,7 +395,7 @@ export class GridPage extends BasePage { await this.get().locator(`td[data-testid="cell-${columnHeader}-0"]`).click({ button: 'right', }); - await expect(this.rootPage.locator('text=Insert New Row')).toBeVisible(); + // await expect(this.rootPage.locator('text=Insert New Row')).toBeVisible(); // in cell-add await this.cell.get({ index: 0, columnHeader: 'Cities' }).hover(); diff --git a/tests/playwright/tests/db/general/tableColumnOperation.spec.ts b/tests/playwright/tests/db/general/tableColumnOperation.spec.ts index 27f6d0fd56..15fadfda41 100644 --- a/tests/playwright/tests/db/general/tableColumnOperation.spec.ts +++ b/tests/playwright/tests/db/general/tableColumnOperation.spec.ts @@ -69,6 +69,6 @@ test.describe('Table Column Operations', () => { }); // add new row using right-click menu - await grid.addRowRightClickMenu(0); + // await grid.addRowRightClickMenu(0); }); });