Altinn/app-frontend-react

Fix flaky cypress test for payment

Opened this issue · 1 comments

Description

The cypress test has been flaky for a while now, failing more often than not, causing frustration and confusion.
The cause for flakyness might be the test-environment for Nets being unstable, or inconsistencies in accessing fields in nested webframes in the Nets gui.

Additional Information

No response

Tasks

No response

Acceptance Criterias

No response

I've created a "Fake Payment Processor" and modified the payment-test to use it. It will create fake payment responses and support a happy path test flow.