diff --git a/tests/Browser/ClientPortal/InvoicesTest.php b/tests/Browser/ClientPortal/InvoicesTest.php index 3d027a9ea88c..6ad5bb004c69 100644 --- a/tests/Browser/ClientPortal/InvoicesTest.php +++ b/tests/Browser/ClientPortal/InvoicesTest.php @@ -2,8 +2,6 @@ namespace Tests\Browser\ClientPortal; -use App\Models\ClientContact; -use Illuminate\Foundation\Testing\DatabaseMigrations; use Laravel\Dusk\Browser; use Tests\Browser\Pages\ClientPortal\Login; use Tests\DuskTestCase; diff --git a/tests/Browser/ClientPortal/RecurringInvoices.php b/tests/Browser/ClientPortal/RecurringInvoices.php new file mode 100644 index 000000000000..47bc1b858c65 --- /dev/null +++ b/tests/Browser/ClientPortal/RecurringInvoices.php @@ -0,0 +1,30 @@ +driver->manage()->deleteAllCookies(); + } + } + + public function testPageLoads() + { + $this->browse(function (Browser $browser) { + $browser + ->visit(new Login()) + ->auth() + ->visitRoute('client.recurring_invoices.index') + ->assertSee('Recurring Invoices'); + }); + } +}