Playwright · Function
expect.configure
expect.configure creates an expect function with reusable defaults, such as an assertion timeout or soft assertions. Use the returned function for later assertions.
Last updated
Syntax
const configuredExpect = expect.configure({ timeout?: number, soft?: boolean });In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
expectexpect.pollexpect.softexpect.toPass