Playwright · Senior · Question 56 of 77

How would you test a payment flow in E2E?

Show the answer

Correct answer: Use the provider's sandbox and test cards, plus a few mocked edge cases

Explanation

Sandboxes support success, decline and 3-D Secure flows. Mocks cover rare errors; one real smoke payment may run in production with care.

Further reading

Problem with a question

Playwright · Senior · question 56

Test yourself

Take the Playwright · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz