From e6d8da9a9d8e2a8f8358ad1bb6211b6f318dbb05 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 21 Aug 2023 17:18:52 +0200 Subject: [PATCH] test(cypress): drop superfluous assertion about file list. File names are now rendered in two spans which breaks the assertion that the row contains `test.md`. But that is nothing text should worry about anyway. Signed-off-by: Max --- cypress/e2e/attachments.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()