Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: trustpay eps redirection in cypress #6529

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading