Playwright · Middle · Question 72 of 75

Why combine API setup with UI checks in one test?

Show the answer

Correct answer: Setup is fast and stable, and the UI check stays focused

Explanation

Creating an order via API and only checking how the UI shows it saves time and removes flaky steps unrelated to the feature.

Further reading

Problem with a question

Playwright · Middle · question 72

Test yourself

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

Take this quiz