Update cypress test
This commit is contained in:
parent
0aa60c5853
commit
bf0838102c
|
|
@ -165,6 +165,7 @@ describe('The Room Page (Teacher)', () => {
|
||||||
cy.getByDataCy('delete-room').within(() => {
|
cy.getByDataCy('delete-room').within(() => {
|
||||||
cy.get('a').click();
|
cy.get('a').click();
|
||||||
});
|
});
|
||||||
|
cy.getByDataCy('modal-save-button').click();
|
||||||
cy.url().should('include', 'rooms');
|
cy.url().should('include', 'rooms');
|
||||||
cy.getByDataCy('room-widget').should('have.length', 1);
|
cy.getByDataCy('room-widget').should('have.length', 1);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue