mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
ci(cypress): Handle failures for trustpay bank-redirects (#5734)
This commit is contained in:
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user