mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
fix(tests): clear filter before typing
This commit is contained in:
@@ -3,6 +3,10 @@ context('Organizational Chart Mobile', () => {
|
||||
cy.login();
|
||||
cy.viewport(375, 667);
|
||||
cy.visit('/app/website');
|
||||
cy.awesomebar('Organizational Chart');
|
||||
|
||||
cy.get('.frappe-control[data-fieldname=company] input').focus().as('input');
|
||||
cy.get('@input').clear().type('Test Org Chart');
|
||||
|
||||
cy.visit(`app/organizational-chart`);
|
||||
cy.wait(500);
|
||||
|
||||
Reference in New Issue
Block a user