Dusk Ausgabe läuft Vagrant Box mit benutzerdefinierten URL auf meinem Mac. Ich musste DuskTestCase.php
editieren und http://localhost:9515
durch $this->local
= http://mysite.dev
ersetzen. $php artisan dusk tests/Browser/LoginTest.php
gibt folgende Fehlermeldung:Laravel Dämmerung Vagabund Box DesiredCapabilities :: __ construct()
Tests\Browser\LoginTest::testLogin
TypeError: Argument 1 passed to Facebook\WebDriver\Remote\DesiredCapabilities::__construct() must be of the type array, null given, called in /Users/gmylonas/Vagrant Projects/mywebsite/vendor/facebook/webdriver/lib/Remote/RemoteWebDriver.php on line 127
/Users/gmylonas/Vagrant Projects/mywebsite/vendor/facebook/webdriver/lib/Remote/DesiredCapabilities.php:33
/Users/gmylonas/Vagrant Projects/mywebsite/vendor/facebook/webdriver/lib/Remote/RemoteWebDriver.php:127
/Users/gmylonas/Vagrant Projects/mywebsite/tests/DuskTestCase.php:46
/Users/gmylonas/Vagrant Projects/mywebsite/vendor/laravel/dusk/src/TestCase.php:210
/Users/gmylonas/Vagrant Projects/mywebsite/vendor/laravel/framework/src/Illuminate/Support/helpers.php:762
/Users/gmylonas/Vagrant Projects/mywebsite/vendor/laravel/dusk/src/TestCase.php:211
/Users/gmylonas/Vagrant Projects/mywebsite/vendor/laravel/dusk/src/TestCase.php:117
/Users/gmylonas/Vagrant Projects/mywebsite/vendor/laravel/dusk/src/TestCase.php:89
/Users/gmylonas/Vagrant Projects/mywebsite/tests/Browser/LoginTest.php:23
Wenn ich $this->local
= http://www.google.com:80
und $browser->visit('/')->dump();
dump den Inhalt der Google-Seite zu ersetzen! Frage: $this->local
= http://localhost:9515
wird
<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body></body></html>
leere Seite Dump Warum wird es nicht auf meiner Box url zu arbeiten und wie es zu lösen?
Danke ist Fortschritt.
ich verstehe es nicht. – ichimaru