Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bobclewell's avatar

When running php artisan dusk the tests just hang (Laravel 9.25.0 - Dusk 7.7.1)

When running php artisan dusk the tests do not complete. The process just hangs with no feedback. Sometimes I see E for some tests, but no feedback beyond that and full suite of tests has never completed.

I've run php artisan dusk:chrome-driver but no change in behavior.

The ChromeDriver binary that is returned with the above "chrome-driver" command completes is: version 114.0.5735.90.

I've also added the following to phpunit.dusk.xml, but that hasn't returned the expected error messaging feedback...

<php>
    <ini name="display_errors" value="On" />
    <ini name="display_startup_errors" value="On" />
</php>

This is a brand new laptop and I am able to run the testing suite on the previous system without error.

Software and system specs:

  • Dusk Version: 7.7.1
  • Laravel Version: 9.25.0
  • PHP Version: 8.1.26
  • PHPUnit Version: 9.5.21
  • Mac OS Sonoma 14.2.1
  • Chip: Apple M3 Pro
0 likes
0 replies

Please or to participate in this conversation.