ahmadelsaeed / laravel9-dusk-dashboard
A beautiful dashboard for your Laravel Dusk tests
Requires
- php: ^7.2|^8.0
- ahmadelsaeed/php8-resource-watcher: ^1.0
- barryvdh/laravel-snappy: ^1.0
- cboden/ratchet: ^0.4.1
- guzzlehttp/guzzle: ^7.0.1
- h4cc/wkhtmltoimage-amd64: 0.12.x
- h4cc/wkhtmltoimage-i386: 0.12.x
- h4cc/wkhtmltopdf-amd64: 0.12.x
- h4cc/wkhtmltopdf-i386: 0.12.x
- illuminate/console: 5.6.*|5.7.*|5.8.*|6.*|7.*|8.*|9.*
- illuminate/support: 5.6.*|5.7.*|5.8.*|6.*|7.*|8.*|9.*
- laravel/dusk: ^4.0|^5.0|^6.0
- react/http: ^1.4
Requires (Dev)
- larapack/dd: ^1.0
- phpunit/phpunit: ^7.0|^8.0|^9.0
This package is auto-updated.
Last update: 2024-11-18 00:20:21 UTC
README
A beautiful dashboard for your Dusk test suites.
Improvements
- Upgrade to PHP 8.0
- Upgraded some packages
- Applied community improvements from other forks
Next Step
- Generate PDF report
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.