Skip to content

Commit 55d5156

Browse files
Use correct status for Riverty
1 parent 7aadd4a commit 55d5156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Test/End-2-end/cypress/e2e/magento/methods/riverty.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const cartPage = new CartPage();
2020
if (Cypress.env('mollie_available_methods').includes('riverty')) {
2121
describe('Check that riverty behaves as expected', () => {
2222
[
23-
{status: 'paid', orderStatus: 'Processing', title: 'C3303025: Validate the submission of an order with Riverty as payment method and payment mark as "Paid"'},
23+
{status: 'authorized', orderStatus: 'Processing', title: 'C3303025: Validate the submission of an order with Riverty as payment method and payment mark as "Paid"'},
2424
{status: 'failed', orderStatus: 'Canceled', title: 'C3303026: Validate the submission of an order with Riverty as payment method and payment mark as "Failed"'},
2525
{status: 'expired', orderStatus: 'Canceled', title: 'C3303027: Validate the submission of an order with Riverty as payment method and payment mark as "Expired"'},
2626
{status: 'canceled', orderStatus: 'Canceled', title: 'C3303028: Validate the submission of an order with Riverty as payment method and payment mark as "Canceled"'},
@@ -35,7 +35,7 @@ if (Cypress.env('mollie_available_methods').includes('riverty')) {
3535

3636
mollieHostedPaymentPage.selectStatus(testCase.status);
3737

38-
if (testCase.status === 'paid') {
38+
if (testCase.status === 'authorized') {
3939
checkoutSuccessPage.assertThatOrderSuccessPageIsShown();
4040
}
4141

0 commit comments

Comments
 (0)