feat: Introduced cypress tests in erpnext

This commit is contained in:
Nabin Hait
2021-04-15 11:30:55 +05:30
committed by Ankush
parent 81522ec521
commit 74b8c99bc2
8 changed files with 412 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
context('Customer', () => {
before(() => {
cy.login();
});
it('Check Customer Group', () => {
cy.visit(`app/customer/`);
cy.get('.primary-action').click();
cy.wait(500);
cy.get('.custom-actions > .btn').click();
cy.get_field('customer_group', 'Link').should('have.value', 'All Customer Groups');
});
});