ahmadelsaeed/laravel9-dusk-dashboard

A beautiful dashboard for your Laravel Dusk tests

dev-main 2022-08-17 19:42 UTC

This package is auto-updated.

Last update: 2024-03-17 22:53:29 UTC


README

A beautiful dashboard for your Dusk test suites.

Latest Version on Packagist Quality Score Total Downloads

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.