fix(tests): clear filter before typing
This commit is contained in:
parent
9d89b2afcf
commit
7270ab5c20
@ -5,7 +5,7 @@ context('Organizational Chart', () => {
|
|||||||
cy.awesomebar('Organizational Chart');
|
cy.awesomebar('Organizational Chart');
|
||||||
|
|
||||||
cy.get('.frappe-control[data-fieldname=company] input').focus().as('input');
|
cy.get('.frappe-control[data-fieldname=company] input').focus().as('input');
|
||||||
cy.get('@input').type('Test Org Chart');
|
cy.get('@input').clear().type('Test Org Chart');
|
||||||
|
|
||||||
cy.get('body').click();
|
cy.get('body').click();
|
||||||
cy.wait(500);
|
cy.wait(500);
|
||||||
|
@ -6,7 +6,7 @@ context('Organizational Chart Mobile', () => {
|
|||||||
cy.awesomebar('Organizational Chart');
|
cy.awesomebar('Organizational Chart');
|
||||||
|
|
||||||
cy.get('.frappe-control[data-fieldname=company] input').focus().as('input');
|
cy.get('.frappe-control[data-fieldname=company] input').focus().as('input');
|
||||||
cy.get('@input').type('Test Org Chart');
|
cy.get('@input').clear().type('Test Org Chart');
|
||||||
|
|
||||||
cy.get('body').click();
|
cy.get('body').click();
|
||||||
cy.wait(500);
|
cy.wait(500);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user