Skip to content

Commit

Permalink
Do not select issuers in tests anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
michielgerritsen committed Jun 14, 2024
1 parent 4eb96cd commit b3530ea
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 0 additions & 3 deletions Test/End-2-end/cypress/e2e/magento/checkout.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -87,7 +86,6 @@ describe('Checkout usage', () => {

checkoutPaymentPage.placeOrder();

mollieHostedPaymentPage.selectFirstIssuer();
mollieHostedPaymentPage.selectStatus('paid');

checkoutSuccessPage.assertThatOrderSuccessPageIsShown();
Expand All @@ -110,7 +108,6 @@ describe('Checkout usage', () => {

checkoutPaymentPage.placeOrder();

mollieHostedPaymentPage.selectFirstIssuer();
mollieHostedPaymentPage.selectStatus('paid');

checkoutSuccessPage.assertThatOrderSuccessPageIsShown();
Expand Down
1 change: 0 additions & 1 deletion Test/End-2-end/cypress/e2e/magento/methods/ideal.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export default class PlaceOrderComposite {
checkoutPaymentsPage.selectPaymentMethod('iDeal');
checkoutPaymentsPage.placeOrder();

mollieHostedPaymentPage.selectFirstIssuer();
mollieHostedPaymentPage.selectStatus('paid');

checkoutSuccessPage.assertThatOrderSuccessPageIsShown();
Expand Down

0 comments on commit b3530ea

Please sign in to comment.