mardi 26 novembre 2019

Laravel Dusk - Curl error (code 3):

I have the following form in a view:










If I press the button Create Order myself it's working. However when I try to test via Dusk it fails with "Curl error (code 3): malformed". My dusk test code is:

$this->browse(function (Browser $browser) {
    $browser->on(new LoginPage)
        ->visit('/order')
        ->press('Create Order')
        ->assertSee('Order created');
});

I am testing a number of other forms and they all work. The only difference is that this one all the inputs are hidden. Is there a way to output what the url is that is being reported as malformed?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2slLbzN
via IFTTT

Aucun commentaire:

Enregistrer un commentaire