mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
fix(tests): clear filter before typing
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user