fix: tests
This commit is contained in:
parent
6e46be5058
commit
e327148edf
@ -4,10 +4,10 @@ context('Organizational Chart', () => {
|
|||||||
cy.visit('/app/website');
|
cy.visit('/app/website');
|
||||||
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').first().focus().as('input');
|
||||||
cy.get('@input').clear().wait(200).type('Test Org Chart');
|
cy.get('@input').clear().wait(200).type('Test Org Chart', { force: true });
|
||||||
cy.get('@input').type('{enter}', { delay: 100 });
|
cy.get('@input').type('{enter}', { delay: 100 });
|
||||||
cy.get('@input').blur();
|
cy.get('@input').blur({ force: true });
|
||||||
|
|
||||||
cy.wait(500);
|
cy.wait(500);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -5,10 +5,10 @@ context('Organizational Chart Mobile', () => {
|
|||||||
cy.visit('/app/website');
|
cy.visit('/app/website');
|
||||||
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').first().focus().as('input');
|
||||||
cy.get('@input').clear().wait(200).type('Test Org Chart');
|
cy.get('@input').clear().wait(200).type('Test Org Chart', { force: true });
|
||||||
cy.get('@input').type('{enter}', { delay: 100 });
|
cy.get('@input').type('{enter}', { delay: 100 });
|
||||||
cy.get('@input').blur();
|
cy.get('@input').blur({ force: true });
|
||||||
|
|
||||||
cy.wait(500);
|
cy.wait(500);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user