Browse Source

test: attachment fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5392/head
Raju Udava 1 year ago
parent
commit
4df86f8f7b
  1. 1
      tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts

1
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 });
}

Loading…
Cancel
Save