Update cypress test

This commit is contained in:
Ramon Wenger 2022-07-11 17:03:19 +02:00
parent 0aa60c5853
commit bf0838102c
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ describe('The Room Page (Teacher)', () => {
cy.getByDataCy('delete-room').within(() => {
cy.get('a').click();
});
cy.getByDataCy('modal-save-button').click();
cy.url().should('include', 'rooms');
cy.getByDataCy('room-widget').should('have.length', 1);
});