From aa72b1e4896cac4ff6445f0aaf6e0f392ec46655 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Thu, 23 Feb 2017 18:25:52 +0000 Subject: [PATCH] pause test for 5 seconds to allow for redirect --- tests/Browser/MicropubClientTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Browser/MicropubClientTest.php b/tests/Browser/MicropubClientTest.php index 6361d597..5ca3a5a5 100644 --- a/tests/Browser/MicropubClientTest.php +++ b/tests/Browser/MicropubClientTest.php @@ -24,8 +24,10 @@ class MicropubClientTest extends DuskTestCase { $this->browse(function ($browser) { $browser->visit(route('micropub-client')) + ->assertDontSee('jonnybarnes on Twitter') ->clickLink('Refresh Syndication Targets') - ->assertSee('jonnybarnes'); + ->pause(5000) + ->assertSee('jonnybarnes on Twitter'); }); } }