diff --git a/cypress/e2e/attachments.spec.js b/cypress/e2e/attachments.spec.js index 39b209801d8..b019fda7b98 100644 --- a/cypress/e2e/attachments.spec.js +++ b/cypress/e2e/attachments.spec.js @@ -361,7 +361,7 @@ describe('Test all attachment insertion methods', () => { it('[share] check everything behaves correctly on the share target user side', () => { // check the file list cy.getFile('test.md') - .should('contain', 'test.md') + .should('exist') cy.getFile('github.png') .should('not.exist') cy.showHiddenFiles()