diff --git a/tests/Browser/LandingPageTest.php b/tests/Browser/LandingPageTest.php new file mode 100644 index 00000000..9d845071 --- /dev/null +++ b/tests/Browser/LandingPageTest.php @@ -0,0 +1,18 @@ +onboarded()->create()); + + $page = visit('/'); + + // The wait is the point: a client-side redirect would fire on a timer, so + // asserting the path immediately would pass even with one in place. + $page->wait(4) + ->assertPathIs('/') + ->assertSee('Whisper Money') + ->assertNoJavascriptErrors(); +});