mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
test: adjust cypress tests to be less flaky
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user