From 481d56a6f19a3243b559dba2de0b333f2efefab7 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Sun, 1 Dec 2024 20:56:51 +0100 Subject: [PATCH] test: refs #7354 #7356 first import missing salix e2e tests --- .../integration/zone/01_basic-data.spec.js | 20 +++++++++++++++++++ .../integration/zone/02_descriptor.spec.js | 10 ++++++++++ 2 files changed, 30 insertions(+) create mode 100644 test/cypress/integration/zone/01_basic-data.spec.js create mode 100644 test/cypress/integration/zone/02_descriptor.spec.js 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 () => {}); +});