Fix cypress test
This commit is contained in:
parent
a50f3737a6
commit
97b3be305f
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue