Testing · Senior · Question 53 of 75

Why should E2E tests prefer seeding state via API instead of the UI?

Explanation

Playwright's request fixture and Cypress's cy.request make API setup easy.

Further reading

Problem with a question

Testing · Senior · question 53

Test yourself

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

Take this quiz