Playwright · Senior · Question 31 of 77

What does expect.configure({ timeout: 15_000 }) give you?

Show the answer

Correct answer: An expect with its own settings for slow checks

Explanation

You can create const slowExpect = expect.configure({ timeout: 15_000 }) for a few slow checks instead of raising the default for all.

Further reading

Problem with a question

Playwright · Senior · question 31

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