27 lines
1.2 KiB
JavaScript
27 lines
1.2 KiB
JavaScript
describe.skip('Ticket Create new tracking state path', () => {
|
|
describe('as production', () => {
|
|
beforeEach(() => {
|
|
const ticketId = 1;
|
|
cy.viewport(1280, 720);
|
|
cy.login('developer');
|
|
cy.visit(`/#/ticket/${ticketId}/boxing`);
|
|
});
|
|
it('should log into the ticket 1 tracking', async () => {});
|
|
it('should access to the create state view by clicking the create floating button', async () => {});
|
|
it(`should create a new state`, async () => {});
|
|
});
|
|
describe('as salesPerson', () => {
|
|
beforeEach(() => {
|
|
const ticketId = 1;
|
|
cy.viewport(1280, 720);
|
|
cy.login('developer');
|
|
cy.visit(`/#/ticket/${ticketId}/boxing`);
|
|
});
|
|
it('should now log into the ticket 1 tracking', async () => {});
|
|
it('should now access to the create state view by clicking the create floating button', async () => {});
|
|
it(`should attemp to create an state for which salesPerson doesn't have permissions`, async () => {});
|
|
it(`should make sure the worker gets autocomplete uppon selecting the assigned state`, async () => {});
|
|
it(`should succesfully create a valid state`, async () => {});
|
|
});
|
|
});
|