diff --git a/packages/nc-gui/components/cell/attachment/Modal.vue b/packages/nc-gui/components/cell/attachment/Modal.vue index ae89941f80..23576227dd 100644 --- a/packages/nc-gui/components/cell/attachment/Modal.vue +++ b/packages/nc-gui/components/cell/attachment/Modal.vue @@ -89,7 +89,7 @@ function onRemoveFileClick(title: any, i: number) {
diff --git a/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts b/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts index bb12fa8e1e..37b41ff83c 100644 --- a/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts +++ b/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts @@ -31,7 +31,7 @@ export class AttachmentCellPageObject extends BasePage { async expandModalAddFile({ filePath }: { filePath: string[] }) { const attachFileAction = this.rootPage .locator('.ant-modal.nc-attachment-modal.active') - .locator('[data-testid="attachment-cell-file-picker-button"]') + .locator('[data-testid="attachment-expand-file-picker-button"]') .click(); return await this.attachFile({ filePickUIAction: attachFileAction, filePath }); }