[3.x] Laravel Framework 11.x and Laravel Dusk 8.x support #35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #34
@after
and@beforeClass
with PHPUnit v10+ attributes#[After]
and#[BeforeClass]
.Derekmd\Dusk\Concerns\TogglesHeadlessMode::hasHeadlessDisabled()
andshouldStartMaximized()
now redundant in Laravel Dusk v8.TestCase
class: MovehasHeadlessDisabled()
andshouldStartMaximized()
toLaravel\Dusk\TestCase
laravel/dusk#1098Derekmd\Dusk\Console\*Command
classes now have lazy-definitions so these testing classes don't need to be instantiated when other Laravel commands are run in the local environment.php artisan dusk:install-firefox
handles apps missing trait tests/CreatesApplication.php. Laravel 11 has pulled this trait's code into the framework.Note
Apps upgrading to "derekmd/laravel-dusk-firefox" v3.0 may need to run command
php artisan dusk:install-firefox
orphp artisan dusk:install-firefox --with-chrome
to overwrite tests/DuskTestCase.php. If trait file tests/CreatesApplication.php still exists, this step isn't required.