Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
19 stars 31 forks source link

Fix flaky cypress test for payment #2161

Open Magnusrm opened 2 months ago

Magnusrm commented 2 months ago

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

bjorntore commented 2 months ago

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.