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