Add more failing frontend test steps
This commit is contained in:
parent
11aac2ec94
commit
37e5c7cf64
|
|
@ -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', () => {
|
||||
|
|
|
|||
|
|
@ -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', () => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,9 @@
|
|||
<room-group-widget v-bind="schoolClass"/>
|
||||
<entry-count-widget :entry-count="entryCount"/>
|
||||
</router-link>
|
||||
<widget-footer v-if="canEditRoom">
|
||||
<widget-footer
|
||||
data-cy="widget-footer"
|
||||
v-if="canEditRoom">
|
||||
<room-actions :id="id"/>
|
||||
</widget-footer>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue