Playwright · Senior · Question 42 of 77

Why run E2E tests against preview deployments of each pull request?

Show the answer

Correct answer: Bugs are caught before merge, on the exact code

Explanation

Pointing baseURL at the preview URL tests the real build and infrastructure before it reaches the main branch.

Further reading

Problem with a question

Playwright · Senior · question 42

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