2023-08-16 07:03:41 +00:00
|
|
|
describe('ClaimNotes', () => {
|
|
|
|
beforeEach(() => {
|
|
|
|
cy.login('developer');
|
2023-08-24 12:56:26 +00:00
|
|
|
cy.visit(`/#/claim/${2}/notes`);
|
2023-08-16 07:03:41 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
it('should add a new note', () => {
|
|
|
|
const message = 'This is a new message.';
|
2024-04-15 10:28:43 +00:00
|
|
|
cy.get('.q-textarea').type(message);
|
|
|
|
cy.get('.q-field__append > .q-btn > .q-btn__content > .q-icon').click(); //save
|
|
|
|
cy.get(':nth-child(1) > .q-card__section--vert').should('have.text', message);
|
2023-08-16 07:03:41 +00:00
|
|
|
});
|
|
|
|
});
|