refactor: refs #8484 streamline assertions in ClaimNotes test
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2025-02-25 18:38:54 +01:00
parent fa0ed95af8
commit 4e7f5b0fd7
1 changed files with 2 additions and 5 deletions

View File

@ -8,12 +8,9 @@ describe('ClaimNotes', () => {
it('should add a new note', () => { it('should add a new note', () => {
const message = 'This is a new message.'; const message = 'This is a new message.';
cy.get('.q-textarea') cy.get('.q-textarea').should('not.be.disabled').type(message);
.should('be.visible')
.should('not.be.disabled')
.type(message);
cy.get(saveBtn).click(); cy.get(saveBtn).click();
cy.get(firstNote).should('be.visible').should('have.text', message); cy.get(firstNote).should('have.text', message);
}); });
}); });