pause test for 5 seconds to allow for redirect
This commit is contained in:
parent
6a5cc9235f
commit
aa72b1e489
1 changed files with 3 additions and 1 deletions
|
@ -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');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue