Even when running a single simple test like the following:
public function test_simple()
{
$user = factory(User::class)->create();
$this->browse(function ($browser) use($user){
$browser->visit('/login')
->type('email', $user->email)
->type('password', 'secret')
->press('Login')
->assertPathIs('/home');
});
}
Laravel Dusk runs very slow with speed of 14-16 seconds for this test alone.
How can I speed it up ? Because if I will be running like 100 tests it would take extremely long.
Any Solutions ?
Aucun commentaire:
Enregistrer un commentaire