test: refs #8440 enhance visibility check and typing delay for adding new vehicle notes
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
ef0ac17d88
commit
ad96392cba
|
@ -16,7 +16,10 @@ describe('Vehicle Notes', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Should add new note', () => {
|
it('Should add new note', () => {
|
||||||
cy.dataCy(selectors.addNoteInput).click().type(newNoteText);
|
cy.dataCy(selectors.addNoteInput)
|
||||||
|
.should('be.visible')
|
||||||
|
.click()
|
||||||
|
.type(newNoteText, { delay: 100 });
|
||||||
cy.dataCy(selectors.saveNoteBtn).click();
|
cy.dataCy(selectors.saveNoteBtn).click();
|
||||||
cy.validateContent(selectors.noteCard, newNoteText);
|
cy.validateContent(selectors.noteCard, newNoteText);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue