PhpDev.App
beyondcode/dusk-dashboard

beyondcode/dusk-dashboard

Stars: 558

Forks: 65

Pull Requests: 41

Issues: 40

Watchers: 15

Last Updated: 2022-04-18 21:12:36

A beautiful dashboard for your Laravel Dusk tests

License: MIT License

Languages: HTML, PHP

https://pociot.dev/8-introducing-laravel-dusk-dashboard

Laravel Dusk Dashboard

A beautiful dashboard for your Dusk test suites.

Latest Version on Packagist Quality Score Total Downloads

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 [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.