diff --git a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts index 0a0c695e94..7261baacd8 100644 --- a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts +++ b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts @@ -377,12 +377,15 @@ describe('dataset pages', () => { .find('gn-ui-download-item') .first() .click() - cy.exec('ls cypress/downloads').then((result) => { - const fileList = result.stdout.split('\n') + // eslint-disable-next-line cypress/no-unnecessary-waiting + cy.wait(3000) + cy.readFile('cypress/downloads/ows.csv') + // cy.exec('ls cypress/downloads').then((result) => { + // const fileList = result.stdout.split('\n') - const isFileDownloaded = fileList[0] - expect(/\S/.test(isFileDownloaded)).to.be.true - }) + // const isFileDownloaded = fileList[0] + // expect(/\S/.test(isFileDownloaded)).to.be.true + // }) }) it('displays the full list after clicking two times on one filter', () => { cy.get('datahub-record-downloads')