/// describe('ClaimNotes', () => { beforeEach(() => { const claimId = 2; cy.login('developer'); cy.visit(`/#/claim/${claimId}/notes`); }); it('should add a new note', () => { const message = 'This is a new message.'; cy.get('.add-btn').click(); cy.get('.note-dialog__content').type(message); cy.get('.note-dialog__actions .q-btn:nth-child(2)').click(); cy.get('.notes > :nth-child(1) > .text').should('have.text', message); }); });