diff --git a/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts b/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts index 52ad7fcdb8..9609ec193e 100644 --- a/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts +++ b/tests/playwright/pages/Dashboard/common/Cell/AttachmentCell.ts @@ -52,7 +52,7 @@ export class AttachmentCellPageObject extends BasePage { let retryCount = 0; while (retryCount < 5) { const attachments = await this.get({ index, columnHeader }).locator('.nc-attachment'); - console.log(await attachments.count()); + // console.log(await attachments.count()); if ((await attachments.count()) === count) { break; } diff --git a/tests/playwright/tests/columnAttachments.spec.ts b/tests/playwright/tests/columnAttachments.spec.ts index cd88220172..a9858f07e2 100644 --- a/tests/playwright/tests/columnAttachments.spec.ts +++ b/tests/playwright/tests/columnAttachments.spec.ts @@ -39,12 +39,12 @@ test.describe('Attachment column', () => { }); } await dashboard.grid.cell.attachment.addFile({ - index: 14, + index: 4, columnHeader: 'testAttach', filePath: [`${process.cwd()}/fixtures/sampleFiles/sampleImage.jpeg`], }); await dashboard.grid.cell.attachment.verifyFile({ - index: 14, + index: 4, columnHeader: 'testAttach', });