Skip to content

yormy/dusk-dashboard

 
 

Repository files navigation

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.

About

A beautiful dashboard for your Laravel Dusk tests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 76.7%
  • HTML 23.3%