Closed Braunson closed 8 months ago
I have the same problem. But taking a look at my terminal, there show up a fatal error everytime I click "Start Tests".
The error says: PHP Fatal error: Declaration of
BeyondCode\DuskDashboard\Testing\TestCase::onNotSuccessfulTest(Throwable $t) must be compatible with PHPUnit\Framework\TestCase::onNotSuccessfulTest(Throwable $t): void in /home/vagrant/faaren/repositories/website-and-consumer-area/vendor/beyondcode/dusk-dashboard/src/Testing/TestCase.php on line 16
Fatal error: Declaration of BeyondCode\DuskDashboard\Testing\TestCase::onNotSuccessfulTest(Throwable $t) must be compatible with PHPUnit\Framework\TestCase::onNotSuccessfulTest(Throwable $t): void in /home/vagrant/faaren/repositories/website-and-consumer-area/vendor/beyondcode/dusk-dashboard/src/Testing/TestCase.php on line 16
I'm using phpunit 8 and Laravel 5.8
Related to #38 and fixed in #39
Updated and tried again but still having the issue where the frame shows nothing (but the url.. i.e. /login
), tests run tho.
Running Laravel 5.8, Dusk 5.4, phpunit 7.5 (which fixed the incompatible declaration of onNotSuccessfulTest).
I started my php artisan dusk:dashboard using console, dashboard opens, hit Start Tests, tests ran in the console but nothing shows up in the dashboard.
Any idea?
Getting the same issue here.
Running: Laravel 5.8.35 Dusk 5.5.2 PHPunit 7.5.16
Experiencing the same issue
me too :(
Any ideas?
Here's my
DuskTestCase.php
which is used in all Dusk tests.