Skip to content

Commit

Permalink
NTR: fix payment failed cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Jun 27, 2024
1 parent 69016b1 commit 5c4cb97
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ context("Checkout Failure Tests", () => {

// select giro pay and mark it as "paid"
mollieSandbox.initSandboxCookie();
molliePaymentList.selectiDEAL();
molliePaymentList.selectSOFORT();
molliePaymentStatus.selectPaid();

cy.url().should('include', '/checkout/finish');
Expand Down Expand Up @@ -102,7 +102,7 @@ context("Checkout Failure Tests", () => {

// select giro pay and mark it as "paid"
mollieSandbox.initSandboxCookie();
molliePaymentList.selectiDEAL();
molliePaymentList.selectSOFORT();
molliePaymentStatus.selectPaid();

cy.url().should('include', '/checkout/finish');
Expand Down Expand Up @@ -173,7 +173,7 @@ context("Checkout Failure Tests", () => {
}


paymentAction.switchPaymentMethod('iDEAL');
paymentAction.switchPaymentMethod('SOFORT');

checkout.placeOrderOnEdit();

Expand Down Expand Up @@ -206,7 +206,7 @@ context("Checkout Failure Tests", () => {
cy.contains('We received your order, but the payment was aborted');
}

paymentAction.switchPaymentMethod('iDEAL');
paymentAction.switchPaymentMethod('SOFORT');

checkout.placeOrderOnEdit();

Expand Down

0 comments on commit 5c4cb97

Please sign in to comment.