test: refs #8440 ensure delete note button is visible before clicking
gitea/salix-front/pipeline/pr-dev Build queued... Details

This commit is contained in:
Jose Antonio Tubau 2025-03-14 07:30:26 +01:00
parent 2f88e97e2e
commit ba5ea898c3
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ describe('Vehicle Notes', () => {
});
it('Should delete note', () => {
cy.dataCy(selectors.deleteNoteBtn).first().click();
cy.dataCy(selectors.deleteNoteBtn).first().should('be.visible').click();
cy.get(selectors.noteCard).first().should('have.text', noteText);
});
});