You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPUnit 13 support (phpunit/phpunit: ^13.0). Since Dawn requires PHPUnit at
runtime (its assertions call PHPUnit\Framework\Assert), the previous ^12
cap would have blocked Laravel 13 apps that run on PHPUnit 13. Verified: the
full suite passes on PHPUnit 13.2 + Laravel 13 + testbench 11 (PHP 8.4).
Fixed
Dusk class-name compatibility now also aliases Laravel\Dusk\Page, Laravel\Dusk\Component and Laravel\Dusk\Keyboard (the last eagerly, as it
appears as a withKeyboard() closure parameter type). Previously only Browser/TestCase/ElementResolver/Dusk were aliased, so page-object
and component test bodies that extend the Dusk base classes would not resolve
when laravel/dusk is absent. CompatAliasTest now covers every alias.
ElementResolver now treats backslashes as valid in a plausible CSS selector,
so escaped selectors (e.g. Tailwind's .md\:flex or [name="a\:b"]) are
kept as resolution candidates instead of being silently dropped. A dangling
trailing backslash is still rejected so it cannot corrupt the candidate list.
KeyboardActions (aliased to Laravel\Dusk\Keyboard) can now be constructed
directly with a Browser - matching Dusk's new Keyboard($browser) - as well
as with a Playwright page (PageInterface), so direct construction outside withKeyboard() no longer throws a TypeError.