Skip to content

Commit

Permalink
small test specs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonasB88 committed Nov 16, 2023
1 parent 4edd0ed commit e91f4d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/ps8/05_mollie.ps8.PaymentTestsPaymentsAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]', () => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e91f4d2

Please sign in to comment.