diff --git a/test/cypress/integration/zone/01_basic-data.spec.js b/test/cypress/integration/zone/01_basic-data.spec.js new file mode 100644 index 000000000..111f2495c --- /dev/null +++ b/test/cypress/integration/zone/01_basic-data.spec.js @@ -0,0 +1,20 @@ +describe.skip('Zone basic data path', () => { + beforeEach(() => { + const zoneId = 1; + cy.viewport(1280, 720); + cy.login('developer'); + cy.visit(`/#/zone/${zoneId}`); + }); + it('should reach the basic data section', async () => {}); + it('should edit de form and then save', async () => {}); + it('should now reload the section', async () => {}); + it('should confirm the name was updated', async () => {}); + it('should confirm the agency was updated', async () => {}); + it('should confirm the max volume was updated', async () => {}); + it('should confirm the traveling days were updated', async () => {}); + it('should confirm the closing hour was updated', async () => {}); + it('should confirm the price was updated', async () => {}); + it('should confirm the bonus was updated', async () => {}); + it('should confirm the inflation was updated', async () => {}); + it('should confirm the volumetric checkbox was checked', async () => {}); +}); diff --git a/test/cypress/integration/zone/02_descriptor.spec.js b/test/cypress/integration/zone/02_descriptor.spec.js new file mode 100644 index 000000000..02f2d30ce --- /dev/null +++ b/test/cypress/integration/zone/02_descriptor.spec.js @@ -0,0 +1,10 @@ +describe('Zone descriptor path', () => { + beforeEach(() => { + const zoneId = 1; + cy.viewport(1280, 720); + cy.login('developer'); + cy.visit(`/#/zone/${zoneId}`); + }); + it('should eliminate the zone using the descriptor option', async () => {}); + it('should search for the deleted zone to find no results', async () => {}); +});