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