Playwright · Senior · Question 76 of 77

What makes a good E2E failure message for the team?

Show the answer

Correct answer: It says what the user couldn't do and shows the evidence

Explanation

Steps, custom assertion messages and attached traces turn "timeout 30000ms" into "couldn't add item to cart: button disabled".

Further reading

Problem with a question

Playwright · Senior · question 76

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