laravel-dusk

Xdebug of Laravel Dusk in Netbeans on Homestead

倖福魔咒の 提交于 2019-12-02 01:49:18
In Laravel Homestead, I've been able to use Xdebug for unit tests, feature tests, poking around in the browser, etc. But it hangs when I try to use Xdebug for Dusk (tests in tests/Browser folder). I thought these questions might help, but I still haven't gotten it working: debugging laravel artisan from PHPStorm with homestead Xdebug laravel artisan commands I've tried various approaches, including: export XDEBUG_CONFIG="idekey=netbeans-xdebug remote_connect_back=0 remote_host=10.0.2.2" php artisan dusk and export XDEBUG_CONFIG="idekey=netbeans-xdebug remote_host=10.0.2.2" php -dxdebug.remote

Errors running Laravel Dusk

戏子无情 提交于 2019-12-02 00:40:19
I just discovered Laravel Dusk, and I was excited to use it in my project. However, it can't seem to get it to work. I followed the Laravel Documentation to install Dusk. When I run php artisan dusk in the terminal, I get [Symfony\Component\Process\Exception\RuntimeException] TTY mode is not supported on Windows platform. I found this ( https://github.com/laravel/dusk/pull/13/files ) which is supposed to fix it I think, but I still get the error. Also, I attempted to run the Dusk tests through PhpStorm following the accepted answer here ( https://laracasts.com/discuss/channels/testing/dusk-via

Running Laravel Dusk on Headless (no GUI) machine

半世苍凉 提交于 2019-12-01 18:28:47
With the recent announcement of Laravel 5.4, I thought I'd give it a try. Like Ozymandias-X on Reddit, I also have been frustrated by it. My Setup Windows 10 as Host; CentOS 7 as Guest (no GUI installation, no Vagrant) Shared folder with Virtual Box. If I just turn on my machine and run php artisan dusk , I get the following: [08:14 AM]-[root@php7]-[/var/www/html/admin]-[git master] # php artisan dusk PHPUnit 5.7.11 by Sebastian Bergmann and contributors. E 1 / 1 (100%) Time: 25.91 seconds, Memory: 10.00MB There was 1 error: 1) Tests\Browser\LoginTest::it_should_see_email_error_message

Set up Laravel 5.4 with Dusk using phpunit.xml, .env.dusk.local, and an sqlite in-memory database

有些话、适合烂在心里 提交于 2019-12-01 16:42:24
The title says it all. I would like to know how to properly set up a new Laravel 5.4 project with Dusk, using an in-memory SQLite database. I can run the tests, but I get an error: "No such table: users" I have created a new Laravel 5.4 project Installed Dusk and added the Service Provider I'm using the test from the laravel docs that tests authentication. It already includes the DatabaseMigrations trait I can run the tests, and the first one works (navigating to the /login route) but the second where it tried to log in fails. I have added a .env.dusk.local which contains APP_ENV=local APP_KEY

Laravel Dusk - Class config does not exist

喜欢而已 提交于 2019-12-01 16:42:07
recently upgraded a 5.3 project to 5.4 and all seemed good. Today I started to implement Dusk however had hit an issue when running the example test ☁ footy-finance [5.4] ⚡ php artisan dusk PHPUnit 6.0.0 by Sebastian Bergmann and contributors. E 1 / 1 (100%) Time: 162 ms, Memory: 6.00MB There was 1 error: 1) Tests\Browser\ExampleTest::testBasicExample ReflectionException: Class config does not exist /Users/owen/Sites/footy-finance/vendor/laravel/framework/src/Illuminate/Container/Container.php:681 /Users/owen/Sites/footy-finance/vendor/laravel/framework/src/Illuminate/Container/Container.php

Laravel Dusk - Class config does not exist

こ雲淡風輕ζ 提交于 2019-12-01 16:06:28
问题 recently upgraded a 5.3 project to 5.4 and all seemed good. Today I started to implement Dusk however had hit an issue when running the example test ☁ footy-finance [5.4] ⚡ php artisan dusk PHPUnit 6.0.0 by Sebastian Bergmann and contributors. E 1 / 1 (100%) Time: 162 ms, Memory: 6.00MB There was 1 error: 1) Tests\Browser\ExampleTest::testBasicExample ReflectionException: Class config does not exist /Users/owen/Sites/footy-finance/vendor/laravel/framework/src/Illuminate/Container/Container

Set up Laravel 5.4 with Dusk using phpunit.xml, .env.dusk.local, and an sqlite in-memory database

笑着哭i 提交于 2019-12-01 16:05:11
问题 The title says it all. I would like to know how to properly set up a new Laravel 5.4 project with Dusk, using an in-memory SQLite database. I can run the tests, but I get an error: "No such table: users" I have created a new Laravel 5.4 project Installed Dusk and added the Service Provider I'm using the test from the laravel docs that tests authentication. It already includes the DatabaseMigrations trait I can run the tests, and the first one works (navigating to the /login route) but the

Running Laravel Dusk on Headless (no GUI) machine

混江龙づ霸主 提交于 2019-12-01 03:44:00
问题 With the recent announcement of Laravel 5.4, I thought I'd give it a try. Like Ozymandias-X on Reddit, I also have been frustrated by it. My Setup Windows 10 as Host; CentOS 7 as Guest (no GUI installation, no Vagrant) Shared folder with Virtual Box. If I just turn on my machine and run php artisan dusk , I get the following: [08:14 AM]-[root@php7]-[/var/www/html/admin]-[git master] # php artisan dusk PHPUnit 5.7.11 by Sebastian Bergmann and contributors. E 1 / 1 (100%) Time: 25.91 seconds,