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): Fix Bank Redirects for stripe test (#8004)
Gnanasundari249da96e890c51
diff --git a/cypress-tests/cypress/support/redirectionHandler.js b/cypress-tests/cypress/support/redirectionHandler.jsindex 8172b72623..56647fcf4e 100644--- a/cypress-tests/cypress/support/redirectionHandler.js+++ b/cypress-tests/cypress/support/redirectionHandler.js@@ -193,7 +193,27 @@ function bankRedirectRedirection(paymentMethodType)) {- cy.get('a[name="success"]').click();+ // scroll down and click on the authorize test payment button+ cy.get("body").then(($body) => {+ cy.get("#frame-warning-container").then(($el) => {+ if ($el.is(":visible")) {+ // Frame warning is visible — use test payment button+ cy.get("#authorize-test-payment")+ .scrollIntoView()+ .should("be.visible")+ .click();+ } else {+ // Frame warning is hidden — use the success link+ cy.contains(+ 'a.common-Button[name="success"]',+ "Authorize Test Payment"+ )+ .scrollIntoView()+ .should("be.visible")+ .click();+ }+ });+ });verifyUrl = true;} else {throw new Error(