From 07ad894b66534406d46991c3e4350d4a3040e046 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Tue, 21 Feb 2017 18:01:48 +0000 Subject: [PATCH] Try using specific css selector --- tests/Browser/MicropubClientTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Browser/MicropubClientTest.php b/tests/Browser/MicropubClientTest.php index d7fd4813..310d7ede 100644 --- a/tests/Browser/MicropubClientTest.php +++ b/tests/Browser/MicropubClientTest.php @@ -26,7 +26,7 @@ class MicropubClientTest extends DuskTestCase $note = $faker->text; $this->browse(function ($browser) use ($note) { $browser->visit('/micropub/create') - ->type('content', $note) + ->type('textarea[name="content"]', $note) ->press('submit'); sleep(2); $this->assertDatabaseHas('notes', ['note' => $note]);