Skip to content

Commit

Permalink
fix: trustpay eps redirection in cypress (#6529)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixincreate authored Nov 12, 2024
1 parent 7dfcd51 commit 7f4f55b
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions cypress-tests/cypress/support/redirectionHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7f4f55b

Please sign in to comment.