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

15 lines
422 B
JavaScript
Raw Permalink Normal View History

2024-12-03 12:00:16 +00:00
/// <reference types="cypress" />
describe('Item tax', () => {
beforeEach(() => {
cy.viewport(1920, 1080);
cy.login('developer');
2025-01-07 12:16:05 +00:00
cy.visit(`/#/item/1/tax`);
2024-12-03 12:00:16 +00:00
});
it('should modify the tax for Spain', () => {
2024-12-31 07:07:47 +00:00
cy.dataCy('Class_select').eq(1).type('General VAT{enter}');
cy.dataCy('crudModelDefaultSaveBtn').click();
2024-12-03 12:00:16 +00:00
cy.checkNotification('Data saved');
});
});