From b3530ea6b9415edb0dc6b7765868c3f603394189 Mon Sep 17 00:00:00 2001 From: Michiel Gerritsen Date: Fri, 14 Jun 2024 09:46:50 +0200 Subject: [PATCH] Do not select issuers in tests anymore --- .../cypress/e2e/magento/api/graphql-place-order.cy.js | 1 - Test/End-2-end/cypress/e2e/magento/api/rest-place-order.cy.js | 1 - Test/End-2-end/cypress/e2e/magento/checkout.cy.js | 3 --- Test/End-2-end/cypress/e2e/magento/methods/ideal.cy.js | 1 - .../cypress/support/actions/composite/PlaceOrderComposite.js | 1 - 5 files changed, 7 deletions(-) diff --git a/Test/End-2-end/cypress/e2e/magento/api/graphql-place-order.cy.js b/Test/End-2-end/cypress/e2e/magento/api/graphql-place-order.cy.js index ae5bd080ba6..ae9e3bf5aec 100644 --- a/Test/End-2-end/cypress/e2e/magento/api/graphql-place-order.cy.js +++ b/Test/End-2-end/cypress/e2e/magento/api/graphql-place-order.cy.js @@ -33,7 +33,6 @@ describe('Check that the headless GraphQL endpoints work as expected', () => { cy.visit(element.attr('href')); }); - mollieHostedPaymentPage.selectFirstIssuer(); mollieHostedPaymentPage.selectStatus('paid'); checkoutSuccessPage.assertThatOrderSuccessPageIsShown(); diff --git a/Test/End-2-end/cypress/e2e/magento/api/rest-place-order.cy.js b/Test/End-2-end/cypress/e2e/magento/api/rest-place-order.cy.js index 71328dbebcf..acf8e33e13b 100644 --- a/Test/End-2-end/cypress/e2e/magento/api/rest-place-order.cy.js +++ b/Test/End-2-end/cypress/e2e/magento/api/rest-place-order.cy.js @@ -33,7 +33,6 @@ describe('Check that the headless REST endpoints work as expected', () => { cy.visit(element.attr('href')); }); - mollieHostedPaymentPage.selectFirstIssuer(); mollieHostedPaymentPage.selectStatus('paid'); checkoutSuccessPage.assertThatOrderSuccessPageIsShown(); diff --git a/Test/End-2-end/cypress/e2e/magento/checkout.cy.js b/Test/End-2-end/cypress/e2e/magento/checkout.cy.js index e12444449f1..726dd6def16 100644 --- a/Test/End-2-end/cypress/e2e/magento/checkout.cy.js +++ b/Test/End-2-end/cypress/e2e/magento/checkout.cy.js @@ -67,7 +67,6 @@ describe('Checkout usage', () => { checkoutPaymentPage.placeOrder(); - mollieHostedPaymentPage.selectFirstIssuer(); mollieHostedPaymentPage.assertIsVisible(); // The original test included a call to cy.go('back');, but this fails for unknown reasons in CI. @@ -87,7 +86,6 @@ describe('Checkout usage', () => { checkoutPaymentPage.placeOrder(); - mollieHostedPaymentPage.selectFirstIssuer(); mollieHostedPaymentPage.selectStatus('paid'); checkoutSuccessPage.assertThatOrderSuccessPageIsShown(); @@ -110,7 +108,6 @@ describe('Checkout usage', () => { checkoutPaymentPage.placeOrder(); - mollieHostedPaymentPage.selectFirstIssuer(); mollieHostedPaymentPage.selectStatus('paid'); checkoutSuccessPage.assertThatOrderSuccessPageIsShown(); diff --git a/Test/End-2-end/cypress/e2e/magento/methods/ideal.cy.js b/Test/End-2-end/cypress/e2e/magento/methods/ideal.cy.js index a1bc29854dd..7e1679d064d 100644 --- a/Test/End-2-end/cypress/e2e/magento/methods/ideal.cy.js +++ b/Test/End-2-end/cypress/e2e/magento/methods/ideal.cy.js @@ -34,7 +34,6 @@ if (Cypress.env('mollie_available_methods').includes('ideal')) { checkoutPaymentPage.selectPaymentMethod('iDeal'); checkoutPaymentPage.placeOrder(); - mollieHostedPaymentPage.selectFirstIssuer(); mollieHostedPaymentPage.selectStatus(testCase.status); if (testCase.status === 'paid') { diff --git a/Test/End-2-end/cypress/support/actions/composite/PlaceOrderComposite.js b/Test/End-2-end/cypress/support/actions/composite/PlaceOrderComposite.js index ea2379d664a..f1a7171bb2c 100644 --- a/Test/End-2-end/cypress/support/actions/composite/PlaceOrderComposite.js +++ b/Test/End-2-end/cypress/support/actions/composite/PlaceOrderComposite.js @@ -20,7 +20,6 @@ export default class PlaceOrderComposite { checkoutPaymentsPage.selectPaymentMethod('iDeal'); checkoutPaymentsPage.placeOrder(); - mollieHostedPaymentPage.selectFirstIssuer(); mollieHostedPaymentPage.selectStatus('paid'); checkoutSuccessPage.assertThatOrderSuccessPageIsShown();