ci(cypress): Added 3DS Refund flow (#4635)

Co-authored-by: preetam revankar <preetam.revankar@preetam.revankar-MacBookPro>
This commit is contained in:
preetamrevankar
2024-05-15 16:44:04 +05:30
committed by GitHub
parent 3cf840e486
commit e79524b295
6 changed files with 320 additions and 4 deletions

View File

@ -498,6 +498,7 @@ Cypress.Commands.add("citForMandatesCallTest", (requestBody, amount, details, co
expect(response.body).to.have.property("next_action")
.to.have.property("redirect_to_url");
const nextActionUrl = response.body.next_action.redirect_to_url;
globalState.set("nextActionUrl", response.body.next_action.redirect_to_url);
cy.log(response.body);
cy.log(nextActionUrl);
} else if (response.body.authentication_type === "no_three_ds") {