Skip to content

Commit

Permalink
test(cypress): drop superfluous assertion about file list.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
max-nextcloud committed Aug 27, 2023
1 parent db7aa50 commit e6d8da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/attachments.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e6d8da9

Please sign in to comment.