15 lines
422 B
JavaScript
15 lines
422 B
JavaScript
/// <reference types="cypress" />
|
|
describe('Item tax', () => {
|
|
beforeEach(() => {
|
|
cy.viewport(1920, 1080);
|
|
cy.login('developer');
|
|
cy.visit(`/#/item/1/tax`);
|
|
});
|
|
|
|
it('should modify the tax for Spain', () => {
|
|
cy.dataCy('Class_select').eq(1).type('General VAT{enter}');
|
|
cy.dataCy('crudModelDefaultSaveBtn').click();
|
|
cy.checkNotification('Data saved');
|
|
});
|
|
});
|