我在黄昏时遇到了一些(看似随机的)问题。我收到以下错误,但是我不明白这意味着什么,有人可以向我解释吗?
$php artisan dusk --group=activation
Warning: TTY mode is not supported on Windows platform.
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.
DevTools listening on ws://127.0.0.1:12475/devtools/browser/19299f29-42c2-4d30-80cb-66d44ef3e6e3
E 1 / 1 (100%)
Time: 18,85 seconds, Memory: 18,00MB
There was 1 error:
1) Tests\Browser\CounselorActivationTest::testActivationWithSubscriptionWithPasswordLogin
Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown for http POST to /session/32a7ccd522f194448bbe7efd19eff65f/url with params: {"url":"http:\/
\/yubu.local\/et-rerum-laborum-et"}
Operation timed out after 10000 milliseconds with 0 bytes received
D:\devYubu\yubu\vendor\facebook\webdriver\lib\Remote\HttpCommandExecutor.php:292
D:\devYubu\yubu\vendor\facebook\webdriver\lib\Remote\RemoteWebDriver.php:547
D:\devYubu\yubu\vendor\facebook\webdriver\lib\Remote\RemoteExecuteMethod.php:40
D:\devYubu\yubu\vendor\facebook\webdriver\lib\WebDriverNavigation.php:85
D:\devYubu\yubu\vendor\laravel\dusk\src\Browser.php:111
D:\devYubu\yubu\tests\Browser\tests\userActivation\CounselorActivationTest.php:52
D:\devYubu\yubu\vendor\laravel\dusk\src\TestCase.php:91
D:\devYubu\yubu\tests\Browser\tests\userActivation\CounselorActivationTest.php:95
ERRORS!
Tests: 1, Assertions: 0, Errors: 1.
在我的代码中,我访问了我的一条路线:
$browser->visit(route('home.subscription', [
'subscriptionSlug' => $subscription->getAttribute(Subscription::COLUMN_SLUG),
], false))
这让我发疯,欢迎所有帮助。
在使用Windows 10时。 我在Windows上运行Dusk(已安装PHP 7.2)。 我的应用程序在带有PHP 7.0的Homestead上运行。 我正在使用Laravel 5.4