diff options
Diffstat (limited to 'cypress/e2e/files/files-download.cy.ts')
-rw-r--r-- | cypress/e2e/files/files-download.cy.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cypress/e2e/files/files-download.cy.ts b/cypress/e2e/files/files-download.cy.ts index 5522fb947d6..a85bbaa8737 100644 --- a/cypress/e2e/files/files-download.cy.ts +++ b/cypress/e2e/files/files-download.cy.ts @@ -91,7 +91,7 @@ describe('files: Download files using default action', { testIsolation: true }, getRowForFile('file.txt') .should('be.visible') .findByRole('button', { name: 'Download' }) - .click() + .click({ force: true }) const downloadsFolder = Cypress.config('downloadsFolder') cy.readFile(`${downloadsFolder}/file.txt`, { timeout: 15000 }) @@ -111,7 +111,7 @@ describe('files: Download files using default action', { testIsolation: true }, getRowForFile('#file.txt') .should('be.visible') .findByRole('button', { name: 'Download' }) - .click() + .click({ force: true }) const downloadsFolder = Cypress.config('downloadsFolder') cy.readFile(`${downloadsFolder}/#file.txt`, { timeout: 15000 }) @@ -134,7 +134,7 @@ describe('files: Download files using default action', { testIsolation: true }, getRowForFile('file.txt') .should('be.visible') .findByRole('button', { name: 'Download' }) - .click() + .click({ force: true }) const downloadsFolder = Cypress.config('downloadsFolder') cy.readFile(`${downloadsFolder}/file.txt`, { timeout: 15000 }) |