browse(function (Browser $browser) { $browser->visit('/client/login') ->type('email', 'user@example.com') ->type('password', config('ninja.testvars.password')) ->press('Login') ->assertPathIs('/client/dashboard'); $browser->visit(route('client.payment_methods.index')) ->waitFor('.dataTable') ->waitFor('.dataTables_empty') ->assertSee('No records found'); // TODO: Testing Stripe