I learn testing. I created something like this:
$this->browse(function ($browser) {
$browser->visit('/en/register')
->type('name', 'hello')
->type('email', 'asdsad@o2.pl')
->type('password', 'hello')
->type('password_confirmation', 'hello')
->click('register');
});
I have the error:
Tests\Browser\ExampleTest::testBasicExample Facebook\WebDriver\Exception\NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"body register"} For test I want to testing standard register form.
Aucun commentaire:
Enregistrer un commentaire