laravellaravel-dusk

When running php artisan dusk the tests do not complete. They just hang


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


Solution

  • Using the composer require laravel/dusk --with-all-dependencies, updates the dependencies of packages in the argument list, including those which are root requirements.

    The latest current version of Laravel\Dusk is v7.12.1.