brotherton-erpnext/cypress/integration/test_customer.js
2021-07-01 21:26:18 +05:30

14 lines
321 B
JavaScript

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');
});
});