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

ci(cypress): fix dynamic routing cases (#12250)

likhinbopanna252e0a19dbff
diff --git a/cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js b/cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js
index 8fd1d76fa3..588b1e6bf8 100644
--- a/cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js
+++ b/cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js
@@ -6,7 +6,7 @@ let globalState;
let shouldContinue = true;
describe("Dynamic Routing Test", () => {
- context("Success-based dynamic routing with stripe as primary", () => {
+ context("Success-based dynamic routing", () => {
before("seed global state", () => {
shouldContinue = true;
cy.task("getGlobalState").then((state) => {
@@ -44,10 +44,10 @@ describe("Dynamic Routing Test", () => {
it("payment-routing-test", () => {
if (!shouldContinue) return;
- globalState.set("connectorId", "stripe");
- globalState.set("merchantConnectorId", globalState.get("stripeMcaId"));
+ globalState.set("connectorId", "adyen");
+ globalState.set("merchantConnectorId", globalState.get("adyenMcaId"));
const data =
- utils.getConnectorDetails("stripe")["card_pm"]["No3DSAutoCapture"];
+ utils.getConnectorDetails("adyen")["card_pm"]["No3DSAutoCapture"];
cy.createConfirmPaymentTest(
fixtures.createConfirmPaymentBody,
data,
@@ -62,7 +62,7 @@ describe("Dynamic Routing Test", () => {
});
});
- context("Elimination dynamic routing with adyen as primary", () => {
+ context("Elimination dynamic routing", () => {
before("seed global state", () => {
shouldContinue = true;
cy.task("getGlobalState").then((state) => {