salix-front/test/cypress/integration/item/itemTax.spec.js

14 lines
389 B
JavaScript

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