test: refs #6896 #6896 first import missing salix e2e tests
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-12-01 21:00:04 +01:00
parent 481d56a6f1
commit 80a1010746
5 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,9 @@
describe.skip('Order summary path', () => {
beforeEach(() => {
const orderId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/order/${orderId}`);
});
it('should reach the order summary section and check data', async () => {});
});

View File

@ -0,0 +1,12 @@
describe.skip('Order edit basic data path', () => {
beforeEach(() => {
const orderId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/order/${orderId}`);
});
describe('when confirmed order', () => {});
it('should not be able to change the client', async () => {});
describe('when new order', () => {});
it('should create an order and edit its basic data', async () => {});
});

View File

@ -0,0 +1,12 @@
describe.skip('Order lines', () => {
beforeEach(() => {
const orderId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/order/${orderId}`);
});
it('should check the order subtotal', async () => {});
it('should delete the first line in the order', async () => {});
it('should confirm the order subtotal has changed', async () => {});
it('should confirm the whole order and redirect to ticket index filtered by clientFk', async () => {});
});

View File

@ -0,0 +1,17 @@
describe.skip('Order catalog', () => {
beforeEach(() => {
const orderId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/order/${orderId}`);
});
it('should open the create new order form', async () => {});
it('should create a new order', async () => {});
it('should add the realm and type filters and obtain results', async () => {});
it('should perfom an "OR" search for the item tag colors silver and brown', async () => {});
it('should perfom an "OR" search for the item tag tallos 2 and 9', async () => {});
it('should perform a general search for category', async () => {});
it('should perfom an "AND" search for the item tag tallos 2', async () => {});
it('should remove the tag filters and have 4 results', async () => {});
it('should search for an item by id', async () => {});
});

View File

@ -0,0 +1,10 @@
describe.skip('Order Index', () => {
beforeEach(() => {
const orderId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/order/${orderId}`);
});
it(`should check the second search result doesn't contain a total of 0€`, async () => {});
it('should search including empty orders', async () => {});
});