lundi 13 avril 2020

Laravel dusk test problem with type() form input

I installed dusk 2.0 for larvel 5.5 visit() and assertSee() are working probably, but press(),type(), etc.. are not working and giving the following error:

There was 1 risky test:

1) Tests\Browser\ExampleTest::testBasicExample This test did not perform any assertions

OK, but incomplete, skipped, or risky tests! Tests: 1, Assertions: 0, Risky: 1.

here's my code:

 public function testBasicExample()
    {
        $this->browse(function (Browser $browser) {
            $browser->visit('/')

                    ->type('myInput','1111');
        });
    }


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire