Skip to content

Commit

Permalink
NTR: fix POS cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
boxblinkracer committed Sep 21, 2023
1 parent b378a90 commit 9b7230f
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const payments = [
{caseId: 'C4127', key: 'belfius', name: 'Belfius'},
{caseId: 'C4121', key: 'giftcard', name: 'Gift cards'},
{caseId: 'C4143', key: 'voucher', name: 'Voucher'},
{caseId: 'C1341120', key: 'pointofsale', name: 'POS Terminal'},
// unfortunately address and product prices need to match, so we cannot do in3 automatically for now
// {caseId: '', key: 'in3', name: 'in3'},
];
Expand Down Expand Up @@ -167,6 +166,20 @@ context("Checkout Tests", () => {
})

})

it('C1341120: Pay with POS Terminal', () => {

scenarioDummyBasket.execute();

paymentAction.switchPaymentMethod('POS Terminal');

shopware.prepareDomainChange();
checkout.placeOrderOnConfirm();

cy.url().should('include', '/mollie/pos/checkout?sw=');

cy.contains('Follow the instructions on the terminal');
})
})
})

Expand Down

0 comments on commit 9b7230f

Please sign in to comment.