From 7536b7ef63c8cbfa2acb248e68e0ee40afa2d398 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sat, 31 May 2025 19:05:23 +0200 Subject: [PATCH] test: adjust cypress tests to be less flaky Signed-off-by: Ferdinand Thiessen --- cypress/e2e/files/favorites.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/files/favorites.cy.ts b/cypress/e2e/files/favorites.cy.ts index d873e6963e6..96812f116e1 100644 --- a/cypress/e2e/files/favorites.cy.ts +++ b/cypress/e2e/files/favorites.cy.ts @@ -30,7 +30,7 @@ describe('files: Favorites', { testIsolation: true }, () => { // See action is called 'Add to favorites' cy.get('[data-cy-files-list-row-action="favorite"] > button').last() .should('exist') - .and('have.text', 'Add to favorites') + .and('contain.text', 'Add to favorites') .click({ force: true }) cy.wait('@addToFavorites') // See favorites star