From 0cbb63062853d5cf5d9c2ad29e455dfa3575bb94 Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Mon, 13 May 2024 08:39:02 +0200 Subject: [PATCH] NTR: fix pipeline --- .../cypress/e2e/storefront/checkout/checkout-success.cy.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/Cypress/cypress/e2e/storefront/checkout/checkout-success.cy.js b/tests/Cypress/cypress/e2e/storefront/checkout/checkout-success.cy.js index c227adf91..35122759a 100644 --- a/tests/Cypress/cypress/e2e/storefront/checkout/checkout-success.cy.js +++ b/tests/Cypress/cypress/e2e/storefront/checkout/checkout-success.cy.js @@ -15,6 +15,7 @@ import PaymentMethodsScreenAction from "cypress-mollie/src/actions/screens/Payme import KBCScreen from "cypress-mollie/src/actions/screens/KBCScreen"; import GiftCardsScreenAction from "cypress-mollie/src/actions/screens/GiftCardsScreen"; import CreditCardScreen from "cypress-mollie/src/actions/screens/CreditCardScreen"; +import IDealScreen from "cypress-mollie/src/actions/screens/IDealScreen"; const devices = new Devices(); @@ -28,6 +29,7 @@ const paymentAction = new PaymentAction(); const mollieSandbox = new MollieSandbox(); const molliePayment = new PaymentScreenAction(); const mollieKBC = new KBCScreen(); +const idealScreen = new IDealScreen(); const mollieVoucher = new VoucherScreenAction(); const mollieGiftCards = new GiftCardsScreenAction(); const molliePaymentMethods = new PaymentMethodsScreenAction(); @@ -136,7 +138,9 @@ context("Checkout Tests", () => { molliePayment.selectPaid(); molliePaymentMethods.selectPaypal(); molliePayment.selectPaid(); - + } else if(payment.key === 'ideal'){ + idealScreen.selectING(); + molliePayment.selectPaid(); } else if (payment.key === 'giftcard') { mollieGiftCards.selectBeautyCards();