Try using specific css selector
This commit is contained in:
parent
7ee08ee0d4
commit
07ad894b66
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class MicropubClientTest extends DuskTestCase
|
||||||
$note = $faker->text;
|
$note = $faker->text;
|
||||||
$this->browse(function ($browser) use ($note) {
|
$this->browse(function ($browser) use ($note) {
|
||||||
$browser->visit('/micropub/create')
|
$browser->visit('/micropub/create')
|
||||||
->type('content', $note)
|
->type('textarea[name="content"]', $note)
|
||||||
->press('submit');
|
->press('submit');
|
||||||
sleep(2);
|
sleep(2);
|
||||||
$this->assertDatabaseHas('notes', ['note' => $note]);
|
$this->assertDatabaseHas('notes', ['note' => $note]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue