pause test for 5 seconds to allow for redirect

This commit is contained in:
Jonny Barnes 2017-02-23 18:25:52 +00:00
parent 6a5cc9235f
commit aa72b1e489

View file

@ -24,8 +24,10 @@ class MicropubClientTest extends DuskTestCase
{ {
$this->browse(function ($browser) { $this->browse(function ($browser) {
$browser->visit(route('micropub-client')) $browser->visit(route('micropub-client'))
->assertDontSee('jonnybarnes on Twitter')
->clickLink('Refresh Syndication Targets') ->clickLink('Refresh Syndication Targets')
->assertSee('jonnybarnes'); ->pause(5000)
->assertSee('jonnybarnes on Twitter');
}); });
} }
} }