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

fix: trustpay `eps` redirection in cypress (#6529)

Pa1NarK7f4f55b63af8
diff --git a/cypress-tests/cypress/support/redirectionHandler.js b/cypress-tests/cypress/support/redirectionHandler.js
index b3eb89868f..5e05ad2791 100644
--- a/cypress-tests/cypress/support/redirectionHandler.js
+++ b/cypress-tests/cypress/support/redirectionHandler.js
@@ -225,19 +225,10 @@ function bankRedirectRedirection(
case "trustpay":
switch (payment_method_type) {
case "eps":
- cy.get("._transactionId__header__iXVd_").should(
- "contain.text",
- "Bank suchen ‑ mit eps zahlen."
- );
- cy.get(".BankSearch_searchInput__uX_9l").type(
- "Allgemeine Sparkasse Oberösterreich Bank AG{enter}"
- );
- cy.get(".BankSearch_searchResultItem__lbcKm").click();
- cy.get("._transactionId__primaryButton__nCa0r").click();
- cy.get("#loginTitle").should(
- "contain.text",
- "eps Online-Überweisung Login"
+ cy.get("#bankname").type(
+ "Allgemeine Sparkasse Oberösterreich Bank AG (ASPKAT2LXXX / 20320)"
);
+ cy.get("#selectionSubmit").click();
cy.get("#user")
.should("be.visible")
.should("be.enabled")