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}');
|
2024-12-10 06:03:13 +00:00
|
|
|
cy.dataCy('crudModelDefaultSaveBtn').click();
|
2024-12-03 12:00:16 +00:00
|
|
|
cy.checkNotification('Data saved');
|
|
|
|
});
|
|
|
|
});
|