Skip to content

Commit 7536b7e

Browse files
committed
test: adjust cypress tests to be less flaky
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 267354e commit 7536b7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cypress/e2e/files/favorites.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('files: Favorites', { testIsolation: true }, () => {
3030
// See action is called 'Add to favorites'
3131
cy.get('[data-cy-files-list-row-action="favorite"] > button').last()
3232
.should('exist')
33-
.and('have.text', 'Add to favorites')
33+
.and('contain.text', 'Add to favorites')
3434
.click({ force: true })
3535
cy.wait('@addToFavorites')
3636
// See favorites star

0 commit comments

Comments
 (0)