diff --git a/cypress/e2e/ps8/05_mollie.ps8.PaymentTestsPaymentsAPI.js b/cypress/e2e/ps8/05_mollie.ps8.PaymentTestsPaymentsAPI.js index 0fa320eee..89121219a 100755 --- a/cypress/e2e/ps8/05_mollie.ps8.PaymentTestsPaymentsAPI.js +++ b/cypress/e2e/ps8/05_mollie.ps8.PaymentTestsPaymentsAPI.js @@ -89,7 +89,7 @@ it('C339379: 44 Bancontact Checkouting [Payments API]', () => { cy.get('[class="button form__button"]').click() cy.get('#content-hook_order_confirmation > .card-block').should('be.visible') }) -it.skip('C339380: 45 Bancontact Order BO Refunding, Partial Refunding [Payments API]', () => { // somehow sometimes the payment div is not loaded in Cypress +it('C339380: 45 Bancontact Order BO Refunding, Partial Refunding [Payments API]', () => { // somehow sometimes the payment div is not loaded in Cypress cy.OrderRefundingPartialPaymentsAPI() }) it('C339381: 46 iDEAL Checkouting [Payments API]', () => { diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 1d6541674..d374267e0 100755 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -73,7 +73,7 @@ Cypress.Commands.add("navigatingToThePayment", () => { if ($body.find('I understand').length > 0) { // If 'I understand' element is found, click it cy.contains('I understand').click() - } else if ($body.find('a').length > 0) { + } else if ($body.find('I understand').length > 0) { // If some other element is found, perform some action cy.get('a').click() cy.contains('Reorder').click()