Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(cypress): fix compilation errors due to filename mismatch (#5740)

Gnanasundari2435666f57bff0
diff --git a/cypress-tests/cypress/e2e/RoutingTest/00000-PriorityRouting.cy.js b/cypress-tests/cypress/e2e/RoutingTest/00000-PriorityRouting.cy.js
index 9641e29758..09f237d7d4 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 6ddd4c12c6..e0b1ee589d 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 b8a85f3804..320c5ed839 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) => {