Browse Source

test(ui): potential fix for failing test

version-14
Noah Jacob 3 years ago
parent
commit
949646222f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cypress/integration/control_phone.js

+ 2
- 1
cypress/integration/control_phone.js View File

@@ -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 => {


Loading…
Cancel
Save