diff --git a/cypress/integration/sharing/team.spec.js b/cypress/integration/sharing/team.spec.js index 2f0a9d7c..2a7f55cc 100644 --- a/cypress/integration/sharing/team.spec.js +++ b/cypress/integration/sharing/team.spec.js @@ -26,8 +26,8 @@ describe('Team', () => { cy.url() .should('contain', '/edit') cy.get('.card-header .card-header-title') - .first() - .should('contain', 'Edit Team') + .contains('Edit Team') + .should('exist') }) it('Shows all teams', () => {