From 6ef69bd9792a558fc36767016657a99fabea02ce Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Tue, 1 Oct 2024 16:23:26 +0200 Subject: [PATCH] NTR: Remove Klarna Sofort banking --- .../cypress/e2e/storefront/checkout/checkout-failed.cy.js | 8 ++++---- .../e2e/storefront/checkout/checkout-success.cy.js | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/Cypress/cypress/e2e/storefront/checkout/checkout-failed.cy.js b/tests/Cypress/cypress/e2e/storefront/checkout/checkout-failed.cy.js index 4dd7cc182..23b3beb4c 100644 --- a/tests/Cypress/cypress/e2e/storefront/checkout/checkout-failed.cy.js +++ b/tests/Cypress/cypress/e2e/storefront/checkout/checkout-failed.cy.js @@ -71,7 +71,7 @@ context("Checkout Failure Tests", () => { // select giro pay and mark it as "paid" mollieSandbox.initSandboxCookie(); - molliePaymentList.selectSOFORT(); + molliePaymentList.selectBankTransfer(); molliePaymentStatus.selectPaid(); cy.url().should('include', '/checkout/finish'); @@ -102,7 +102,7 @@ context("Checkout Failure Tests", () => { // select giro pay and mark it as "paid" mollieSandbox.initSandboxCookie(); - molliePaymentList.selectSOFORT(); + molliePaymentList.selectBankTransfer(); molliePaymentStatus.selectPaid(); cy.url().should('include', '/checkout/finish'); @@ -173,7 +173,7 @@ context("Checkout Failure Tests", () => { } - paymentAction.switchPaymentMethod('SOFORT'); + paymentAction.switchPaymentMethod('Banktransfer'); checkout.placeOrderOnEdit(); @@ -206,7 +206,7 @@ context("Checkout Failure Tests", () => { cy.contains('We received your order, but the payment was aborted'); } - paymentAction.switchPaymentMethod('SOFORT'); + paymentAction.switchPaymentMethod('Banktransfer'); checkout.placeOrderOnEdit(); 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 2b8107166..cf640d97f 100644 --- a/tests/Cypress/cypress/e2e/storefront/checkout/checkout-success.cy.js +++ b/tests/Cypress/cypress/e2e/storefront/checkout/checkout-success.cy.js @@ -49,7 +49,6 @@ const payments = [ {caseId: 'C4115', key: 'klarnapaylater', name: 'Pay later', sanity: false}, {caseId: 'C4117', key: 'klarnasliceit', name: 'Slice it', sanity: false}, {caseId: 'C4118', key: 'ideal', name: 'iDEAL', sanity: false}, - {caseId: 'C4116', key: 'sofort', name: 'SOFORT', sanity: false}, {caseId: 'C4120', key: 'eps', name: 'eps', sanity: false}, {caseId: 'C4123', key: 'mistercash', name: 'Bancontact', sanity: false}, {caseId: 'C4125', key: 'przelewy24', name: 'Przelewy24', sanity: false},