diff --git a/cypress-tests/cypress/e2e/PaymentTest/00018-BankRedirect.cy.js b/cypress-tests/cypress/e2e/PaymentTest/00018-BankRedirect.cy.js index cc3b8dbaec76..66bfce568f57 100644 --- a/cypress-tests/cypress/e2e/PaymentTest/00018-BankRedirect.cy.js +++ b/cypress-tests/cypress/e2e/PaymentTest/00018-BankRedirect.cy.js @@ -225,7 +225,11 @@ describe("Bank Redirect tests", () => { data, true, globalState - ); + ).then(() => { + if (globalState.get("connectorId") === "adyen") { + expect(data.Response.body.error_message).to.equal("Required object 'paymentMethod' is not provided."); + } + }); if (shouldContinue) shouldContinue = utils.should_continue_further(data); });