test(ui): potential fix for failing test
This commit is contained in:
parent
2864c4322e
commit
949646222f
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue