Skip to content

Commit 49a6148

Browse files
committed
update
1 parent 9556a36 commit 49a6148

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cypress-tests/cypress/support/redirectionHandler.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,19 @@ function bankRedirectRedirection(
404404
}
405405
break;
406406

407+
case "multisafepay":
408+
if (["sofort", "eps", "mbway"].includes(paymentMethodType)) {
409+
// Multisafe pay has CSRF blocking cannot actually test redirection flow via cypress
410+
// cy.get(".btn-msp-success").click();
411+
412+
verifyUrl = false;
413+
} else {
414+
throw new Error(
415+
`Unsupported multisafe payment method type: ${paymentMethodType}`
416+
);
417+
}
418+
break;
419+
407420
default:
408421
throw new Error(
409422
`Unsupported connector in handleFlow: ${connectorId}`

0 commit comments

Comments
 (0)