From ad96392cbaef8ac95227a603a5cb0b76c2b5cc25 Mon Sep 17 00:00:00 2001 From: jtubau Date: Tue, 4 Mar 2025 09:01:30 +0100 Subject: [PATCH] test: refs #8440 enhance visibility check and typing delay for adding new vehicle notes --- test/cypress/integration/route/vehicle/vehicleNotes.spec.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/cypress/integration/route/vehicle/vehicleNotes.spec.js b/test/cypress/integration/route/vehicle/vehicleNotes.spec.js index 05a379efd..d6d13c863 100644 --- a/test/cypress/integration/route/vehicle/vehicleNotes.spec.js +++ b/test/cypress/integration/route/vehicle/vehicleNotes.spec.js @@ -16,7 +16,10 @@ describe('Vehicle Notes', () => { }); 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.validateContent(selectors.noteCard, newNoteText); });