salix-front/test/cypress/integration/item/08_regularize.spec.js

25 lines
1.4 KiB
JavaScript
Raw Normal View History

describe.skip('Item regularize path', () => {
beforeEach(() => {
const itemId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/item/${itemId}`);
});
it('should edit the user local warehouse', async () => {});
it('should check the local settings were saved', async () => {});
it('should search for a specific item', async () => {});
it('should open the regularize dialog and check the warehouse matches the local user settings', async () => {});
it('should regularize the item', async () => {});
it('should click on the Tickets button of the top bar menu', async () => {});
it('should clear the user local settings now', async () => {});
it('should search for the ticket with alias missing', async () => {});
it(`should check the ticket sale quantity is showing a negative value`, async () => {});
it(`should check the ticket sale discount is 100%`, async () => {});
it('should now click on the Items button of the top bar menu', async () => {});
it('should search for the item once again', async () => {});
it('should regularize the item once more', async () => {});
it('should again click on the Tickets button of the top bar menu', async () => {});
it('should search for the ticket missing once again', async () => {});
it(`should check the ticket contains now two sales`, async () => {});
});