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 Tesouro cypress test cases (#10154)

Vasanth6b3ceb653dd9
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Tesouro.js b/cypress-tests/cypress/e2e/configs/Payment/Tesouro.js
index d58a14669d..b7527927ee 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Tesouro.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Tesouro.js
@@ -203,6 +203,15 @@ export const connectorDetails = {
},
},
},
+ VoidAfterConfirm: {
+ Request: {},
+ Response: {
+ status: 200,
+ body: {
+ status: "processing", // this is an async process
+ },
+ },
+ },
Void: {
Request: {},
Response: {
@@ -219,7 +228,7 @@ export const connectorDetails = {
Response: {
status: 200,
body: {
- status: "pending",
+ status: "succeeded",
},
},
},
@@ -230,7 +239,7 @@ export const connectorDetails = {
Response: {
status: 200,
body: {
- status: "pending",
+ status: "succeeded",
},
},
},
@@ -241,7 +250,7 @@ export const connectorDetails = {
Response: {
status: 200,
body: {
- status: "pending",
+ status: "succeeded",
},
},
},
@@ -252,7 +261,7 @@ export const connectorDetails = {
Response: {
status: 200,
body: {
- status: "pending",
+ status: "succeeded",
},
},
},