From 7e6663ac0b3385528f40bd247ecd3ce8645393b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 2 Jul 2021 16:53:57 +0200 Subject: [PATCH] Credits: Assert page loads --- tests/Browser/ClientPortal/CreditsTest.php | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/Browser/ClientPortal/CreditsTest.php diff --git a/tests/Browser/ClientPortal/CreditsTest.php b/tests/Browser/ClientPortal/CreditsTest.php new file mode 100644 index 000000000000..5a8e530b5334 --- /dev/null +++ b/tests/Browser/ClientPortal/CreditsTest.php @@ -0,0 +1,30 @@ +driver->manage()->deleteAllCookies(); + } + } + + public function testPageLoads() + { + $this->browse(function (Browser $browser) { + $browser + ->visit(new Login()) + ->auth() + ->visitRoute('client.credits.index') + ->assertSee('Credits'); + }); + } +}