describe('ClaimNotes', () => { const firstNote = '.q-infinite-scroll :nth-child(1) > .q-card__section--vert'; beforeEach(() => { cy.login('developer'); cy.visit(`/#/claim/${2}/notes`); }); it('should add a new note', () => { const message = 'This is a new message.'; cy.get('.q-textarea') .should('be.visible') .should('not.be.disabled') .type(message, "{{enter}}"); cy.dataCy("saveContinueNoteButton").click(); cy.get(firstNote).should('have.text', message); }); });