test: adjust cypress tests to be less flaky

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/52727/head
Ferdinand Thiessen 4 months ago
parent 267354e70d
commit 7536b7ef63
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
  1. 2
      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

Loading…
Cancel
Save