Playwright · Junior · Question 39 of 75

What is the default timeout for expect assertions in Playwright Test?

Show the answer

Correct answer: 5 seconds

Explanation

Assertions retry for 5 seconds by default (expect.timeout). The whole test has a separate 30-second timeout by default.

Further reading

Problem with a question

Playwright · Junior · question 39

Test yourself

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

Take this quiz