diff --git a/client/cypress/integration/frontend/read-only/room-read-only.spec.js b/client/cypress/integration/frontend/read-only/room-read-only.spec.js index 1f2f22c7..3ab16021 100644 --- a/client/cypress/integration/frontend/read-only/room-read-only.spec.js +++ b/client/cypress/integration/frontend/read-only/room-read-only.spec.js @@ -59,6 +59,7 @@ const checkRoomReadOnly = ({editable, readOnly, classReadOnly = false}) => { cy.visit('room/some-room'); cy.get('.room-entry').should('exist'); cy.getByDataCy('add-room-entry-button').should(exist); + cy.getByDataCy('room-actions').should(exist); }; describe('Room Team Management - Read only', () => { diff --git a/client/cypress/integration/frontend/read-only/rooms-read-only.spec.js b/client/cypress/integration/frontend/read-only/rooms-read-only.spec.js index 5f24c15f..e812009c 100644 --- a/client/cypress/integration/frontend/read-only/rooms-read-only.spec.js +++ b/client/cypress/integration/frontend/read-only/rooms-read-only.spec.js @@ -49,6 +49,7 @@ const checkRoomsReadOnly = ({editable, readOnly, classReadOnly = false}) => { cy.log('visit'); cy.get('.room-widget').should('exist'); cy.getByDataCy('add-room').should(exist); + cy.getByDataCy('widget-footer').should(exist); }; describe('Room Team Management - Read only', () => { diff --git a/client/src/components/rooms/RoomWidget.vue b/client/src/components/rooms/RoomWidget.vue index bd5f4682..c1371f6f 100644 --- a/client/src/components/rooms/RoomWidget.vue +++ b/client/src/components/rooms/RoomWidget.vue @@ -10,7 +10,9 @@ - +