From 949646222f8a1314ff10b2180353646620eea3bf Mon Sep 17 00:00:00 2001 From: Noah Jacob Date: Wed, 30 Mar 2022 14:19:39 +0530 Subject: [PATCH] test(ui): potential fix for failing test --- cypress/integration/control_phone.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/integration/control_phone.js b/cypress/integration/control_phone.js index 8d1e7c1d05..0d0812b983 100644 --- a/cypress/integration/control_phone.js +++ b/cypress/integration/control_phone.js @@ -30,9 +30,10 @@ context('Control Phone', () => { cy.get('.frappe-control[data-fieldname=phone]') .findByRole('textbox') .first() - .type(phone_number); + .type(phone_number, {force: true}); cy.get_field("phone").first().should('have.value', phone_number); + cy.wait(1000) cy.get_field("phone").first().blur({force: true}); cy.get('@dialog').then(dialog => {