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 failure connectors (#13405)

likhinbopanna7dc4ba7106c2
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Noon.js b/cypress-tests/cypress/e2e/configs/Payment/Noon.js
index b415c7d338..56921991ce 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Noon.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Noon.js
@@ -100,6 +100,7 @@ export const connectorDetails = {
Request: {
currency: "AED",
shipping_cost: 50,
+ amount: 9000,
},
Response: {
status: 200,
@@ -107,6 +108,7 @@ export const connectorDetails = {
status: "requires_payment_method",
shipping_cost: 50,
amount: 9000,
+ amount_capturable: 9050,
},
},
},
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Nuvei.js b/cypress-tests/cypress/e2e/configs/Payment/Nuvei.js
index c0d20d8a3c..89c567e919 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Nuvei.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Nuvei.js
@@ -101,6 +101,7 @@ export const connectorDetails = {
Request: {
currency: "USD",
shipping_cost: 50,
+ amount: 11500,
},
Response: {
status: 200,
@@ -108,6 +109,7 @@ export const connectorDetails = {
status: "requires_payment_method",
shipping_cost: 50,
amount: 11500,
+ amount_capturable: 11550,
},
},
},