test: refs #8440 ensure delete note button is visible before clicking
gitea/salix-front/pipeline/pr-dev Build queued...
Details
gitea/salix-front/pipeline/pr-dev Build queued...
Details
This commit is contained in:
parent
2f88e97e2e
commit
ba5ea898c3
|
@ -22,7 +22,7 @@ describe('Vehicle Notes', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Should delete note', () => {
|
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);
|
cy.get(selectors.noteCard).first().should('have.text', noteText);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue