Playwright · Senior · Question 31 of 77
What does expect.configure({ timeout: 15_000 }) give you?
- 1A way to retry tests that fail on assertions
- 2A global timeout for all tests in the project
- 3An
expectwith its own settings for slow checks
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.