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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
ci(cypress): Handle failures for trustpay bank-redirects (#5734)
likhinbopannae6d43a001a08
diff --git a/cypress-tests/cypress/e2e/PaymentUtils/Trustpay.js b/cypress-tests/cypress/e2e/PaymentUtils/Trustpay.jsindex 4d2b607a6c..c209fe5a6d 100644--- a/cypress-tests/cypress/e2e/PaymentUtils/Trustpay.js+++ b/cypress-tests/cypress/e2e/PaymentUtils/Trustpay.js@@ -321,7 +321,10 @@ export const connectorDetails = {Response: {status: 200,body: {- status: "requires_customer_action",+ status: "failed",+ error_code: "1133001",+ error_message:+ "Giropay payments are not enabled in Project 4107608031",},},},diff --git a/cypress-tests/cypress/support/redirectionHandler.js b/cypress-tests/cypress/support/redirectionHandler.jsindex fdbd8e5197..6540632c89 100644--- a/cypress-tests/cypress/support/redirectionHandler.js+++ b/cypress-tests/cypress/support/redirectionHandler.js@@ -247,10 +247,9 @@ function bankRedirectRedirection(break;case "ideal":cy.contains("button", "Select your bank").click();- cy.get('[data-testid="ideal-box-bank-item-INGBNL2A-content"]')- .should("be.visible")- .click();-+ cy.get(+ 'button[data-testid="bank-item"][id="bank-item-INGBNL2A"]'+ ).click();break;case "giropay":cy.get("._transactionId__header__iXVd_").should(