fix: sider

This commit is contained in:
Rucha Mahabal 2021-07-20 12:19:44 +05:30
parent 9c63fcb01b
commit 951b3a4313
2 changed files with 16 additions and 21 deletions

View File

@ -21,8 +21,6 @@ context('Organizational Chart', () => {
.clear({ force: true })
.type('Test Org Chart{enter}', { force: true })
.blur({ force: true });
cy.get('body').click();
});
});
});

View File

@ -15,16 +15,13 @@ context('Organizational Chart Mobile', () => {
'X-Frappe-CSRF-Token': csrf_token
},
timeout: 60000
})
.then(res => {
}).then(res => {
expect(res.status).eq(200);
cy.get('.frappe-control[data-fieldname=company] input').focus().as('input');
cy.get('@input')
.clear({ force: true })
.type('Test Org Chart{enter}', { force: true })
.blur({ force: true });
cy.get('body').click();
});
});
});