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