Update cypress tests

This commit is contained in:
Ramon Wenger 2023-04-11 17:07:17 +02:00
parent a61c5a661b
commit 1513a5672c
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ describe('Instruments Page', () => {
cy.getByDataCy('instrument') cy.getByDataCy('instrument')
.first() .first()
.within(() => { .within(() => {
cy.getByDataCy('instrument-subheader').should('contain', 'Instrumente - Sprache & Kommunikation'); cy.getByDataCy('instrument-subheader').should('contain', 'Instrumente Sprache & Kommunikation');
}); });
}); });
}); });

View File

@ -68,7 +68,7 @@ describe('Instruments on Module page', () => {
cy.getByDataCy('content-block') cy.getByDataCy('content-block')
.first() .first()
.within(() => { .within(() => {
cy.getByDataCy('instrument-label').should('contain', 'Instrumente - Sprache & Kommunikation'); cy.getByDataCy('instrument-label').should('contain', 'Instrumente Sprache & Kommunikation');
}); });
cy.getByDataCy('content-block') cy.getByDataCy('content-block')
.eq(1) .eq(1)