I am attempting to set up Laravel Dusk in a Laravel 5.4 application. Executing php artisan dusk
does not launch a browser window as shown in this guide and I am trying to figure out why. PHPStorm complains that the ExampleTest
class created during execution of the php artisan dusk:install
command must implement the createApplication()
method, but I cannot find any mention of this method in:
- The official Laravel guide
- This Scotch.io guide
- A search of all files within the Laravel application directory using PHPStorm's search function.
ExampleTest class is as follows:
class ExampleTest extends DuskTestCase
{
/**
* A basic browser test example.
*
* @return void
*/
public function testBasicExample()
{
$this->browse(function ($browser) {
$browser->visit('/')
->assertSee('Laravel');
});
}
}
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3BuPib3
via IFTTT
Aucun commentaire:
Enregistrer un commentaire