diff --git a/cypress-tests/cypress/e2e/PaymentTest/00010-CreateSingleuseMandate.cy.js b/cypress-tests/cypress/e2e/PaymentTest/00010-CreateSingleuseMandate.cy.js index 1f37b061ec38..b03b74e2da1a 100644 --- a/cypress-tests/cypress/e2e/PaymentTest/00010-CreateSingleuseMandate.cy.js +++ b/cypress-tests/cypress/e2e/PaymentTest/00010-CreateSingleuseMandate.cy.js @@ -137,7 +137,7 @@ describe("Card - SingleUse Mandates flow test", () => { ); context( - "Card - ThreeDS Create + Confirm Manual CIT and MIT payment flow test", + "Card - No threeDS Create + Confirm Manual CIT and MIT payment flow test", () => { let should_continue = true; // variable that will be used to skip tests if a previous test fails diff --git a/cypress-tests/cypress/e2e/PaymentUtils/Bluesnap.js b/cypress-tests/cypress/e2e/PaymentUtils/Bluesnap.js index d8995661e034..6cfc84de4369 100644 --- a/cypress-tests/cypress/e2e/PaymentUtils/Bluesnap.js +++ b/cypress-tests/cypress/e2e/PaymentUtils/Bluesnap.js @@ -43,6 +43,7 @@ export const connectorDetails = { }, Response: { status: 200, + trigger_skip: true, body: { status: "requires_capture", }, @@ -59,6 +60,7 @@ export const connectorDetails = { }, Response: { status: 200, + trigger_skip: true, body: { status: "succeeded", }, diff --git a/cypress-tests/cypress/e2e/PaymentUtils/Paypal.js b/cypress-tests/cypress/e2e/PaymentUtils/Paypal.js index 7c109b981603..14e69feb3f4a 100644 --- a/cypress-tests/cypress/e2e/PaymentUtils/Paypal.js +++ b/cypress-tests/cypress/e2e/PaymentUtils/Paypal.js @@ -45,6 +45,7 @@ export const connectorDetails = { }, Response: { status: 200, + trigger_skip: true, body: { status: "requires_capture", }, @@ -61,6 +62,7 @@ export const connectorDetails = { }, Response: { status: 200, + trigger_skip: true, body: { status: "succeeded", }, diff --git a/cypress-tests/cypress/e2e/PaymentUtils/utils.js b/cypress-tests/cypress/e2e/PaymentUtils/utils.js index a337b0c29f35..b0fe4b9d1344 100644 --- a/cypress-tests/cypress/e2e/PaymentUtils/utils.js +++ b/cypress-tests/cypress/e2e/PaymentUtils/utils.js @@ -77,6 +77,10 @@ export function getValueByKey(jsonObject, key) { } export const should_continue_further = (res_data) => { + if (res_data.trigger_skip !== undefined) { + return !res_data.trigger_skip; + } + if ( res_data.body.error !== undefined || res_data.body.error_code !== undefined ||