salix-front/test/cypress/integration/ticket/12_descriptor.spec.js

49 lines
2.2 KiB
JavaScript

describe.skip('Ticket descriptor path', () => {
describe('Delete ticket', () => {
beforeEach(() => {
const ticketId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/ticket/${ticketId}/boxing`);
});
it('should search for an specific ticket', async () => {});
it(`should update the shipped hour using the descriptor menu`, async () => {});
it(`should confirm the ticket descriptor shows the correct shipping hour`, async () => {});
it('should delete the ticket using the descriptor menu', async () => {});
it('should have been relocated to the ticket index', async () => {});
it(`should search for the deleted ticket and check the deletedTicket icon and it's date`, async () => {});
});
describe('Restore ticket', () => {
beforeEach(() => {
const ticketId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/ticket/${ticketId}/boxing`);
});
it('should restore the ticket using the descriptor menu', async () => {});
});
describe('Make invoice', () => {
beforeEach(() => {
const ticketId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/ticket/${ticketId}/boxing`);
});
it('should login as administrative role then search for a ticket', async () => {});
it(`should make sure the ticket doesn't have an invoiceOutFk yet`, async () => {});
it('should invoice the ticket using the descriptor menu', async () => {});
it(`should make sure the ticket summary have an invoiceOutFk`, async () => {});
it(`should regenerate the invoice using the descriptor menu`, async () => {});
});
describe('SMS', () => {
beforeEach(() => {
const ticketId = 1;
cy.viewport(1280, 720);
cy.login('developer');
cy.visit(`/#/ticket/${ticketId}/boxing`);
});
it('should send the payment SMS using the descriptor menu', async () => {});
it('should send the import SMS using the descriptor menu', async () => {});
});
});