diff --git a/cypress-tests/cypress/e2e/RoutingTest/00000-PriorityRouting.cy.js b/cypress-tests/cypress/e2e/RoutingTest/00000-PriorityRouting.cy.js index 9641e297582d..09f237d7d47c 100644 --- a/cypress-tests/cypress/e2e/RoutingTest/00000-PriorityRouting.cy.js +++ b/cypress-tests/cypress/e2e/RoutingTest/00000-PriorityRouting.cy.js @@ -1,6 +1,6 @@ import * as fixtures from "../../fixtures/imports"; import State from "../../utils/State"; -import * as utils from "../RoutingUtils/utils"; +import * as utils from "../RoutingUtils/Utils"; let globalState; diff --git a/cypress-tests/cypress/e2e/RoutingTest/00001-VolumeBasedRouting.cy.js b/cypress-tests/cypress/e2e/RoutingTest/00001-VolumeBasedRouting.cy.js index 6ddd4c12c6ff..e0b1ee589de2 100644 --- a/cypress-tests/cypress/e2e/RoutingTest/00001-VolumeBasedRouting.cy.js +++ b/cypress-tests/cypress/e2e/RoutingTest/00001-VolumeBasedRouting.cy.js @@ -1,6 +1,6 @@ import * as fixtures from "../../fixtures/imports"; import State from "../../utils/State"; -import * as utils from "../RoutingUtils/utils"; +import * as utils from "../RoutingUtils/Utils"; let globalState; @@ -39,7 +39,7 @@ describe("Volume Based Routing Test", () => { }); }); - afterEach("flush global state", () => { + after("flush global state", () => { cy.task("setGlobalState", globalState.data); }); @@ -166,7 +166,7 @@ describe("Volume Based Routing Test", () => { }); }); - afterEach("flush global state", () => { + after("flush global state", () => { cy.task("setGlobalState", globalState.data); }); it("list-mca-by-mid", () => { diff --git a/cypress-tests/cypress/e2e/RoutingTest/00002-RuleBasedRouting.cy.js b/cypress-tests/cypress/e2e/RoutingTest/00002-RuleBasedRouting.cy.js index b8a85f380493..320c5ed83932 100644 --- a/cypress-tests/cypress/e2e/RoutingTest/00002-RuleBasedRouting.cy.js +++ b/cypress-tests/cypress/e2e/RoutingTest/00002-RuleBasedRouting.cy.js @@ -1,10 +1,12 @@ import * as fixtures from "../../fixtures/imports"; import State from "../../utils/State"; -import * as utils from "../RoutingUtils/utils"; +import * as utils from "../RoutingUtils/Utils"; let globalState; describe("Rule Based Routing Test", () => { + let should_continue = true; + context("Create Jwt Token", () => { before("seed global state", () => { cy.task("getGlobalState").then((state) => {