Skip to content

Commit

Permalink
Fix Riverty E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michielgerritsen committed Jul 11, 2024
1 parent ca7d143 commit f477882
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Test/End-2-end/cypress/e2e/magento/methods/riverty.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ const cartPage = new CartPage();
if (Cypress.env('mollie_available_methods').includes('riverty')) {
describe('Check that riverty behaves as expected', () => {
[
{status: 'authorized', orderStatus: 'Processing', title: 'C3303025: Validate the submission of an order with Riverty as payment method and payment mark as "Authorized"'},
{status: 'paid', orderStatus: 'Processing', title: 'C3303025: Validate the submission of an order with Riverty as payment method and payment mark as "Paid"'},
{status: 'failed', orderStatus: 'Canceled', title: 'C3303026: Validate the submission of an order with Riverty as payment method and payment mark as "Failed"'},
{status: 'expired', orderStatus: 'Canceled', title: 'C3303027: Validate the submission of an order with Riverty as payment method and payment mark as "Expired"'},
{status: 'canceled', orderStatus: 'Canceled', title: 'C3303028: Validate the submission of an order with Riverty as payment method and payment mark as "Cancelled"'},
{status: 'canceled', orderStatus: 'Canceled', title: 'C3303028: Validate the submission of an order with Riverty as payment method and payment mark as "Canceled"'},
].forEach((testCase) => {
it(testCase.title, () => {
visitCheckoutPayment.visit();

cy.fail('TODO')

cy.intercept('mollie/checkout/redirect/paymentToken/*').as('mollieRedirect');

checkoutPaymentPage.selectPaymentMethod('Riverty');
Expand Down

0 comments on commit f477882

Please sign in to comment.