Playwright-Expect Assertion Library
JSON →playwright-expect is an assertion library designed for enhancing end-to-end testing with Playwright Test and Jest. Currently at version 0.1.2, it significantly extends the default `expect` API with a richer set of matchers compared to similar libraries like `expect-playwright`, aiming to provide a more comprehensive and robust testing experience. Key differentiators include an extensive collection of easy-to-use assertions, exhaustive failure messages with diff highlights, options for case-insensitive matching and trimming values before assertion, and the ability to automatically wait for expectations to succeed. It seamlessly integrates with both Playwright Test and Jest and ships with built-in TypeScript types for improved developer experience and autocompletion. The project maintains an active patch release cadence, focusing on stability and feature enhancements.
Traffic · last 30 days ↑100% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇳🇴 Norway · 🇩🇪 Germany · 🇫🇷 France