mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
test: introduce cypress tests
Co-authored-by: Ankush <ankush@iwebnotes.com> Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
13
cypress/integration/test_customer.js
Normal file
13
cypress/integration/test_customer.js
Normal 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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user