zenia9012 / dusk-dashboard
A beautiful dashboard for your Laravel Dusk tests
Requires
- php: ^7.2
- cboden/ratchet: ^0.4.1
- clue/buzz-react: ^2.5
- guzzlehttp/guzzle: ^6.3
- illuminate/console: 5.6.*|5.7.*|5.8.*|6.*|7.*
- illuminate/support: 5.6.*|5.7.*|5.8.*|6.*|7.*
- laravel/dusk: ^4.0|^5.0|^6.0
- yosymfony/resource-watcher: ^2.0
Requires (Dev)
- larapack/dd: ^1.0
- phpunit/phpunit: ^7.0
README
A beautiful dashboard for your Dusk test suites.
Installation
You can install the package via composer:
composer require beyondcode/dusk-dashboard --dev
Next up, you need to go to your DuskTestCase.php
that was installed by Laravel Dusk. You can find this file in your tests
directory:
Find and replace this line:
use Laravel\Dusk\TestCase as BaseTestCase;
with:
use BeyondCode\DuskDashboard\Testing\TestCase as BaseTestCase;
Usage
php artisan dusk:dashboard
Check out the documentation here.
Handling Asset Paths
Assets may not load or display properly when using relative paths due to port specification. Using Larvel's Path Helpers such as the url()
and asset()
helpers (Ex: {{ url('path/to/asset.css') }}
) will help overcome these pathing issues.
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.