Fix cypress test

This commit is contained in:
Ramon Wenger 2019-02-20 13:43:54 +01:00
parent a50f3737a6
commit 97b3be305f
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ describe('The Room Page', () => {
cy.visit('/room/ein-historisches-festival');
cy.get('[data-cy=add-room-entry-button]').click();
cy.get('.add-content-element:nth-child(1)').click();
cy.get('.add-content-element:first-of-type').click();
cy.get('[data-cy=choose-text-widget]').click();
cy.get('[data-cy=modal-title-input] > .modal-input__inputfield').type('some title');

View File

@ -5,10 +5,10 @@
<slot name="header"></slot>
</div>
<div class="modal__body">
<slot></slot>
<div class="modal__close-button" @click="hideModal">
<cross class="modal__close-icon"></cross>
</div>
<slot></slot>
</div>
<div class="modal__footer">
<slot name="footer">