From 37e5c7cf64ab387de03c913733f8ba12b75d1974 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Wed, 28 Jul 2021 20:00:09 +0200 Subject: [PATCH] Add more failing frontend test steps --- .../integration/frontend/read-only/room-read-only.spec.js | 1 + .../integration/frontend/read-only/rooms-read-only.spec.js | 1 + client/src/components/rooms/RoomWidget.vue | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) 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 @@ - +