Dusk: php artisan dusk never finishes

Created on 4 Aug 2017  路  5Comments  路  Source: laravel/dusk

Hi,

I have some unit & api tests in my Laravel development and they are working well.

Now I want to introduce some browser tests but I'm having a quite strange error,
the tests are being run well but the problem is that the process never ends.
It shows, for example, 4/4 (100%) but the process does not stop.

I've tried it with only one simple test asserting true is true, but the behaviour is the same.

I'm running the browser tests with:

php artisan dusk

What might produce this kind of error?

I have no idea how I can investigate more about it...

Thanks a lot!

Most helpful comment

This issue is not yet solved. Running php artisan dusk returns this message 9/10 times:

Operation timed out after 30005 milliseconds with 0 bytes received

I'm running macOS Catalina 10.15.3 with Chrome 80.0.3987.116. It should work on it's own, without hanging so often.

All 5 comments

Hi guys!

I solved this problem using the ChromeDriver manually, so I've commented the line that initialize the ChromeDriver (at DuskTestCase) and I've launched it manually (downloaded from the official site).

You can close this issue or try to check why it happens with the built-in ChromeDriver.

Thanks a lot!

Same problem here, but php artisan dusk times out after a while:
Operation timed out after 30000 milliseconds with 0 bytes received

How exactly did you work aroud this?

same

Closing this issue because it's already solved, old or not relevant anymore. Feel free to reply if you're still experiencing this issue.

This issue is not yet solved. Running php artisan dusk returns this message 9/10 times:

Operation timed out after 30005 milliseconds with 0 bytes received

I'm running macOS Catalina 10.15.3 with Chrome 80.0.3987.116. It should work on it's own, without hanging so often.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahtinurme picture ahtinurme  路  6Comments

guirociozanini picture guirociozanini  路  6Comments

rauldeheer picture rauldeheer  路  4Comments

susanBuck picture susanBuck  路  6Comments

digitlimit picture digitlimit  路  4Comments