A Playwright assertion (expect) timed out waiting for the expected condition. Playwright assertions auto-retry until the timeout, then fail.
await expect(page.locator('#element')).toBeVisible({ timeout: 15000 });Override the default assertion timeout for slow-loading elements.
// playwright.config.ts
export default defineConfig({
expect: { timeout: 10000 },
});Increase the default assertion timeout for all expect() calls.
ObserveOne analyzes assertion failure patterns and identifies flaky tests caused by inconsistent load times.
Start Monitoring FreeThe default action timeout (30 seconds) was exceeded before the operation could complete. This commonly occurs during navigation, element waits, or network-dependent operations.
Playwright waited for an element matching the given selector but it did not appear within the timeout. The element may not exist, may be hidden, or may appear under a different selector.
The target element exists in the DOM but is not visible. Playwright requires elements to be visible before interacting with them (clicking, typing, etc.).
Navigation to the target URL did not complete within the timeout period. The page either failed to respond or took too long to reach the 'load' event.
A locator matched more than one element, but the action requires exactly one. Playwright's strict mode (enabled by default) prevents ambiguous interactions.