Playwright · Senior · Question 22 of 77

How do you debug a failure that happens only in CI?

Show the answer

Correct answer: Open the CI trace, reproduce in the CI Docker image, compare env

Explanation

Traces show the page state at the failure. Running the same Docker image and worker count locally often reproduces timing issues.

Further reading

Problem with a question

Playwright · Senior · question 22

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