From 4df86f8f7bd17e7505b6f3bc7f16e0eeaa184a25 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Mon, 3 Apr 2023 14:23:48 +0530 Subject: [PATCH] test: attachment fix Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts b/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts index 0ad8e737aa..9609ec193e 100644 --- a/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts +++ b/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts @@ -25,7 +25,6 @@ export class AttachmentCellPageObject extends BasePage { const attachFileAction = this.get({ index, columnHeader }) .locator('[data-testid="attachment-cell-file-picker-button"]') .click(); - await this.get({ index, columnHeader }).scrollIntoViewIfNeeded(); return await this.attachFile({ filePickUIAction: attachFileAction, filePath }); }