Output:
Chunk ID: 18ce86
Wall time: 0.0000 seconds
Process exited with code 2
Original token count: 5723
Output:

  ⨯⨯
  ────────────────────────────────────────────────────────────────────────────
   FAILED  Tests\Feature\Admin\DashboardTest > admin dashboard route require…
  Expected response status code [>=200, <300] but received 500.
Failed asserting that false is true.

The following exception occurred during the last request:

TypeError: App\Livewire\Admin\Dashboard::previousRange(): Argument #1 ($start) must be of type Illuminate\Support\Carbon, Carbon\CarbonImmutable given, called in /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php on line 105 and defined in /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php:226
Stack trace:
#0 /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php(105): App\Livewire\Admin\Dashboard->previousRange(Object(Carbon\CarbonImmutable), Object(Carbon\CarbonImmutable))
#1 /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php(80): App\Livewire\Admin\Dashboard->loadKpis()
#2 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Livewire\Admin\Dashboard->mount()
#3 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::{closure:Illuminate\Container\BoundMethod::call():35}()
#4 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#5 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#6 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Wrapped.php(23): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array)
#7 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php(158): Livewire\Wrapped->__call('mount', Array)
#8 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php(35): Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->callHook('mount', Array)
#9 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/ComponentHook.php(19): Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->mount(Array, false, Array)
#10 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/ComponentHookRegistry.php(45): Livewire\ComponentHook->callMount(Array, false, Array)
#11 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/EventBus.php(87): Livewire\ComponentHookRegistry::{closure:Livewire\ComponentHookRegistry::boot():39}(Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#12 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/helpers.php(98): Livewire\EventBus->trigger('mount', Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#13 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php(76): Livewire\trigger('mount', Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#14 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/LivewireManager.php(102): Livewire\Mechanisms\HandleComponents\HandleComponents->mount('admin.dashboard', Array, NULL, Array)
#15 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/HandlesPageComponents.php(19): Livewire\LivewireManager->mount('admin.dashboard', Array)
#16 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/SupportPageComponents.php(118): Livewire\Component->{closure:Livewire\Features\SupportPageComponents\HandlesPageComponents::__invoke():14}()
#17 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/HandlesPageComponents.php(14): Livewire\Features\SupportPageComponents\SupportPageComponents::interceptTheRenderOfTheComponentAndRetreiveTheLayoutConfiguration(Object(Closure))
#18 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Livewire\Component->__invoke()
#19 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::{closure:Illuminate\Container\BoundMethod::call():35}()
#20 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#21 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#22 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#23 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Mechanisms/HandleRouting/LivewirePageController.php(15): Illuminate\Container\Container->call(Array)
#24 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): Livewire\Mechanisms\HandleRouting\LivewirePageController->__invoke()
#25 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Livewire\Mechanisms\HandleRouting\LivewirePageController), '__invoke')
#26 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\Routing\Route->runController()
#27 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\Routing\Route->run()
#28 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Router->{closure:Illuminate\Routing\Router::runRouteWithinStack():821}(Object(Illuminate\Http\Request))
#29 /Users/fabianwesner/Herd/shop/app/Http/Middleware/CheckStoreRole.php(30): Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}(Object(Illuminate\Http\Request))
#30 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\Http\Middleware\CheckStoreRole->handle(Object(Illuminate\Http\Request), Object(Closure))
#31 /Users/fabianwesner/Herd/shop/app/Http/Middleware/ResolveStore.php(38): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#32 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\Http\Middleware\ResolveStore->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php(41): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#34 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Auth\Middleware\EnsureEmailIsVerified->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#36 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#37 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#38 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Auth\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure))
#39 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#40 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#41 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#42 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#44 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\EncryptedStore), Object(Closure))
#45 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#47 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#48 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#49 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#50 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#51 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#52 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#53 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#54 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#55 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#56 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Kernel->{closure:Illuminate\Foundation\Http\Kernel::dispatchToRouter():197}(Object(Illuminate\Http\Request))
#57 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}(Object(Illuminate\Http\Request))
#58 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#59 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#60 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#61 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#62 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#63 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#64 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#65 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#66 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#67 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#68 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#69 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(61): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#70 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#71 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#72 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#73 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#74 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\InvokeDeferredCallbacks->handle(Object(Illuminate\Http\Request), Object(Closure))
#75 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#76 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Http\Middleware\ValidatePathEncoding->handle(Object(Illuminate\Http\Request), Object(Closure))
#77 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#78 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#79 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#80 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php(607): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#81 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php(368): Illuminate\Foundation\Testing\TestCase->call('GET', '/admin', Array, Array, Array, Array)
#82 /Users/fabianwesner/Herd/shop/tests/Feature/Admin/DashboardTest.php(81): Illuminate\Foundation\Testing\TestCase->get('/admin')
#83 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Factories/TestCaseMethodFactory.php(168): P\Tests\Feature\Admin\DashboardTest->{closure:/Users/fabianwesner/Herd/shop/tests/Feature/Admin/DashboardTest.php:69}()
#84 [internal function]: P\Tests\Feature\Admin\DashboardTest->{closure:Pest\Factories\TestCaseMethodFactory::getClosure():158}()
#85 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(429): call_user_func_array(Object(Closure), Array)
#86 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Support/ExceptionTrace.php(26): P\Tests\Feature\Admin\DashboardTest->{closure:Pest\Concerns\Testable::__callClosure():429}()
#87 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(429): Pest\Support\ExceptionTrace::ensure(Object(Closure))
#88 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(331): P\Tests\Feature\Admin\DashboardTest->__callClosure(Object(Closure), Array)
#89 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Factories/TestCaseFactory.php(169) : eval()'d code(17): P\Tests\Feature\Admin\DashboardTest->__runTest(Object(Closure))
#90 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(1332): P\Tests\Feature\Admin\DashboardTest->__pest_evaluable_admin_dashboard_route_requires_authentication_and_renders_store_scoped_metrics()
#91 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(519): PHPUnit\Framework\TestCase->runTest()
#92 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestRunner/TestRunner.php(99): PHPUnit\Framework\TestCase->runBare()
#93 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(359): PHPUnit\Framework\TestRunner->run(Object(P\Tests\Feature\Admin\DashboardTest))
#94 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestSuite.php(374): PHPUnit\Framework\TestCase->run()
#95 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(64): PHPUnit\Framework\TestSuite->run()
#96 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/TextUI/Application.php(229): PHPUnit\TextUI\TestRunner->run(Object(PHPUnit\TextUI\Configuration\Configuration), Object(PHPUnit\Runner\ResultCache\DefaultResultCache), Object(PHPUnit\Framework\TestSuite))
#97 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Kernel.php(103): PHPUnit\TextUI\Application->run(Array)
#98 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest(184): Pest\Kernel->handle(Array, Array)
#99 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest(192): {closure:/Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest:18}()
#100 {main}

----------------------------------------------------------------------------------

App\Livewire\Admin\Dashboard::previousRange(): Argument #1 ($start) must be of type Illuminate\Support\Carbon, Carbon\CarbonImmutable given, called in /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php on line 105

  at tests/Feature/Admin/DashboardTest.php:82
     78▕
     79▕     $this->actingAs(adminDashboardUser())
     80▕         ->withSession(['current_store_id' => $store->getKey()])
     81▕         ->get('/admin')
  ➜  82▕         ->assertSuccessful()
     83▕         ->assertSee('Dashboard')
     84▕         ->assertSee('70.00 EUR')
     85▕         ->assertSee('Dashboard Jacket')
     86▕         ->assertDontSee('Other Store Product');

  ────────────────────────────────────────────────────────────────────────────
   FAILED  Tests\Feature\Admin\DashboardTest > admin dashboar…  ViewException
  App\Livewire\Admin\Dashboard::previousRange(): Argument #1 ($start) must be of type Illuminate\Support\Carbon, Carbon\CarbonImmutable given, called in /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php on line 105 (View: /Users/fabianwesner/Herd/shop/storage/framework/views/a168b0ebcff266df6b662fc4b6d06e88.blade.php)

  at app/Livewire/Admin/Dashboard.php:226
    222▕
    223▕     /**
    224▕      * @return array{0: Carbon, 1: Carbon}
    225▕      */
  ➜ 226▕     private function previousRange(Carbon $start, Carbon $end): array
    227▕     {
    228▕         $days = max(1, $start->copy()->startOfDay()->diffInDays($end->copy()->startOfDay()) + 1);
    229▕         $previousEnd = $start->copy()->subSecond();
    230▕

  1   app/Livewire/Admin/Dashboard.php:226
  2   app/Livewire/Admin/Dashboard.php:105

  Tests:    2 failed (3 assertions)
  Duration: 1.01s


The focused test found the app is returning immutable Carbon instances in this context, while my dashboard typed a few helpers to mutable `Illuminate\Support\Carbon`. I’m loosening those helper types to Carbon’s interface and rerunning.


Input:
*** Begin Patch
*** Update File: /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php
@@
 use App\Models\OrderLine;
 use App\Models\Store;
 use App\Support\Money;
+use Carbon\CarbonInterface;
 use Illuminate\Database\Eloquent\Builder;
 use Illuminate\Support\Carbon;
 use Illuminate\Support\CarbonPeriod;
@@
-            ->map(fn (Carbon $date): array => [
+            ->map(fn (CarbonInterface $date): array => [
@@
-     * @return array{0: Carbon, 1: Carbon}
+     * @return array{0: CarbonInterface, 1: CarbonInterface}
      */
     private function currentRange(): array
@@
-     * @return array{0: Carbon, 1: Carbon}
+     * @return array{0: CarbonInterface, 1: CarbonInterface}
      */
-    private function previousRange(Carbon $start, Carbon $end): array
+    private function previousRange(CarbonInterface $start, CarbonInterface $end): array
@@
-     * @return array{0: Carbon, 1: Carbon}|null
+     * @return array{0: CarbonInterface, 1: CarbonInterface}|null
      */
@@
-    private function ordersBetween(Carbon $start, Carbon $end): Builder
+    private function ordersBetween(CarbonInterface $start, CarbonInterface $end): Builder
@@
-    private function revenueOrdersBetween(Carbon $start, Carbon $end): Builder
+    private function revenueOrdersBetween(CarbonInterface $start, CarbonInterface $end): Builder
*** End Patch


Success. Updated the following files:
M /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php

@@ -11,2 +11,3 @@
 use App\Support\Money;
+use Carbon\CarbonInterface;
 use Illuminate\Database\Eloquent\Builder;
@@ -139,3 +140,3 @@
         $this->ordersChartData = collect(CarbonPeriod::create($start->copy()->startOfDay(), '1 day', $end->copy()->startOfDay()))
-            ->map(fn (Carbon $date): array => [
+            ->map(fn (CarbonInterface $date): array => [
                 'date' => $date->toDateString(),
@@ -210,3 +211,3 @@
     /**
-     * @return array{0: Carbon, 1: Carbon}
+     * @return array{0: CarbonInterface, 1: CarbonInterface}
      */
@@ -223,5 +224,5 @@
     /**
-     * @return array{0: Carbon, 1: Carbon}
+     * @return array{0: CarbonInterface, 1: CarbonInterface}
      */
-    private function previousRange(Carbon $start, Carbon $end): array
+    private function previousRange(CarbonInterface $start, CarbonInterface $end): array
     {
@@ -234,3 +235,3 @@
     /**
-     * @return array{0: Carbon, 1: Carbon}|null
+     * @return array{0: CarbonInterface, 1: CarbonInterface}|null
      */
@@ -259,3 +260,3 @@
      */
-    private function ordersBetween(Carbon $start, Carbon $end): Builder
+    private function ordersBetween(CarbonInterface $start, CarbonInterface $end): Builder
     {
@@ -269,3 +270,3 @@
      */
-    private function revenueOrdersBetween(Carbon $start, Carbon $end): Builder
+    private function revenueOrdersBetween(CarbonInterface $start, CarbonInterface $end): Builder
     {


Output: {"output":"Success. Updated the following files:\nM /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php\n","metadata":{"exit_code":0,"duration_seconds":0.0}}


vendor/bin/pint --dirty --format agent && php artisan test --compact tests/Feature/Admin/DashboardTest.php


Output:
Chunk ID: b15175
Wall time: 1.0018 seconds
Process running with session ID 9332
Original token count: 5
Output:
{"result":"pass"}


vendor/bin/pint --dirty --format agent && php artisan test --compact tests/Feature/Admin/DashboardTest.php

{"result":"pass"}
  ⨯⨯
  ────────────────────────────────────────────────────────────────────────────
   FAILED  Tests\Feature\Admin\DashboardTest > admin dashboard route require…
  Expected response status code [>=200, <300] but received 500.
Failed asserting that false is true.

The following exception occurred during the last request:

Error: Class "Illuminate\Support\CarbonPeriod" not found in /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php:140
Stack trace:
#0 /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php(126): App\Livewire\Admin\Dashboard->loadChart()
#1 /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php(81): App\Livewire\Admin\Dashboard->loadKpis()
#2 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Livewire\Admin\Dashboard->mount()
#3 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::{closure:Illuminate\Container\BoundMethod::call():35}()
#4 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#5 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#6 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Wrapped.php(23): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array)
#7 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php(158): Livewire\Wrapped->__call('mount', Array)
#8 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php(35): Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->callHook('mount', Array)
#9 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/ComponentHook.php(19): Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->mount(Array, false, Array)
#10 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/ComponentHookRegistry.php(45): Livewire\ComponentHook->callMount(Array, false, Array)
#11 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/EventBus.php(87): Livewire\ComponentHookRegistry::{closure:Livewire\ComponentHookRegistry::boot():39}(Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#12 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/helpers.php(98): Livewire\EventBus->trigger('mount', Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#13 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php(76): Livewire\trigger('mount', Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#14 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/LivewireManager.php(102): Livewire\Mechanisms\HandleComponents\HandleComponents->mount('admin.dashboard', Array, NULL, Array)
#15 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/HandlesPageComponents.php(19): Livewire\LivewireManager->mount('admin.dashboard', Array)
#16 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/SupportPageComponents.php(118): Livewire\Component->{closure:Livewire\Features\SupportPageComponents\HandlesPageComponents::__invoke():14}()
#17 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/HandlesPageComponents.php(14): Livewire\Features\SupportPageComponents\SupportPageComponents::interceptTheRenderOfTheComponentAndRetreiveTheLayoutConfiguration(Object(Closure))
#18 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Livewire\Component->__invoke()
#19 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::{closure:Illuminate\Container\BoundMethod::call():35}()
#20 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#21 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#22 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#23 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Mechanisms/HandleRouting/LivewirePageController.php(15): Illum…12534 chars truncated…7): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#81 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php(368): Illuminate\Foundation\Testing\TestCase->call('GET', '/admin', Array, Array, Array, Array)
#82 /Users/fabianwesner/Herd/shop/tests/Feature/Admin/DashboardTest.php(81): Illuminate\Foundation\Testing\TestCase->get('/admin')
#83 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Factories/TestCaseMethodFactory.php(168): P\Tests\Feature\Admin\DashboardTest->{closure:/Users/fabianwesner/Herd/shop/tests/Feature/Admin/DashboardTest.php:69}()
#84 [internal function]: P\Tests\Feature\Admin\DashboardTest->{closure:Pest\Factories\TestCaseMethodFactory::getClosure():158}()
#85 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(429): call_user_func_array(Object(Closure), Array)
#86 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Support/ExceptionTrace.php(26): P\Tests\Feature\Admin\DashboardTest->{closure:Pest\Concerns\Testable::__callClosure():429}()
#87 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(429): Pest\Support\ExceptionTrace::ensure(Object(Closure))
#88 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(331): P\Tests\Feature\Admin\DashboardTest->__callClosure(Object(Closure), Array)
#89 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Factories/TestCaseFactory.php(169) : eval()'d code(17): P\Tests\Feature\Admin\DashboardTest->__runTest(Object(Closure))
#90 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(1332): P\Tests\Feature\Admin\DashboardTest->__pest_evaluable_admin_dashboard_route_requires_authentication_and_renders_store_scoped_metrics()
#91 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(519): PHPUnit\Framework\TestCase->runTest()
#92 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestRunner/TestRunner.php(99): PHPUnit\Framework\TestCase->runBare()
#93 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(359): PHPUnit\Framework\TestRunner->run(Object(P\Tests\Feature\Admin\DashboardTest))
#94 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestSuite.php(374): PHPUnit\Framework\TestCase->run()
#95 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(64): PHPUnit\Framework\TestSuite->run()
#96 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/TextUI/Application.php(229): PHPUnit\TextUI\TestRunner->run(Object(PHPUnit\TextUI\Configuration\Configuration), Object(PHPUnit\Runner\ResultCache\DefaultResultCache), Object(PHPUnit\Framework\TestSuite))
#97 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Kernel.php(103): PHPUnit\TextUI\Application->run(Array)
#98 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest(184): Pest\Kernel->handle(Array, Array)
#99 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest(192): {closure:/Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest:18}()
#100 {main}

----------------------------------------------------------------------------------

Class "Illuminate\Support\CarbonPeriod" not found

  at tests/Feature/Admin/DashboardTest.php:82
     78▕
     79▕     $this->actingAs(adminDashboardUser())
     80▕         ->withSession(['current_store_id' => $store->getKey()])
     81▕         ->get('/admin')
  ➜  82▕         ->assertSuccessful()
     83▕         ->assertSee('Dashboard')
     84▕         ->assertSee('70.00 EUR')
     85▕         ->assertSee('Dashboard Jacket')
     86▕         ->assertDontSee('Other Store Product');

  ────────────────────────────────────────────────────────────────────────────
   FAILED  Tests\Feature\Admin\DashboardTest > admin dashboar…  ViewException
  Class "Illuminate\Support\CarbonPeriod" not found (View: /Users/fabianwesner/Herd/shop/storage/framework/views/a168b0ebcff266df6b662fc4b6d06e88.blade.php)

  at app/Livewire/Admin/Dashboard.php:140
    136▕             ->selectRaw('date(placed_at) as order_date, count(*) as aggregate')
    137▕             ->groupBy('order_date')
    138▕             ->pluck('aggregate', 'order_date');
    139▕
  ➜ 140▕         $this->ordersChartData = collect(CarbonPeriod::create($start->copy()->startOfDay(), '1 day', $end->copy()->startOfDay()))
    141▕             ->map(fn (CarbonInterface $date): array => [
    142▕                 'date' => $date->toDateString(),
    143▕                 'label' => $date->format('M j'),
    144▕                 'count' => (int) ($counts[$date->toDateString()] ?? 0),

  1   app/Livewire/Admin/Dashboard.php:140
  2   app/Livewire/Admin/Dashboard.php:126

  Tests:    2 failed (3 assertions)
  Duration: 0.98s


Output:
Chunk ID: 46aa22
Wall time: 0.0000 seconds
Process exited with code 2
Original token count: 5630
Output:

  ⨯⨯
  ────────────────────────────────────────────────────────────────────────────
   FAILED  Tests\Feature\Admin\DashboardTest > admin dashboard route require…
  Expected response status code [>=200, <300] but received 500.
Failed asserting that false is true.

The following exception occurred during the last request:

Error: Class "Illuminate\Support\CarbonPeriod" not found in /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php:140
Stack trace:
#0 /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php(126): App\Livewire\Admin\Dashboard->loadChart()
#1 /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php(81): App\Livewire\Admin\Dashboard->loadKpis()
#2 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Livewire\Admin\Dashboard->mount()
#3 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::{closure:Illuminate\Container\BoundMethod::call():35}()
#4 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#5 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#6 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Wrapped.php(23): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array)
#7 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php(158): Livewire\Wrapped->__call('mount', Array)
#8 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php(35): Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->callHook('mount', Array)
#9 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/ComponentHook.php(19): Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->mount(Array, false, Array)
#10 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/ComponentHookRegistry.php(45): Livewire\ComponentHook->callMount(Array, false, Array)
#11 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/EventBus.php(87): Livewire\ComponentHookRegistry::{closure:Livewire\ComponentHookRegistry::boot():39}(Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#12 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/helpers.php(98): Livewire\EventBus->trigger('mount', Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#13 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php(76): Livewire\trigger('mount', Object(App\Livewire\Admin\Dashboard), Array, NULL, false, Array)
#14 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/LivewireManager.php(102): Livewire\Mechanisms\HandleComponents\HandleComponents->mount('admin.dashboard', Array, NULL, Array)
#15 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/HandlesPageComponents.php(19): Livewire\LivewireManager->mount('admin.dashboard', Array)
#16 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/SupportPageComponents.php(118): Livewire\Component->{closure:Livewire\Features\SupportPageComponents\HandlesPageComponents::__invoke():14}()
#17 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportPageComponents/HandlesPageComponents.php(14): Livewire\Features\SupportPageComponents\SupportPageComponents::interceptTheRenderOfTheComponentAndRetreiveTheLayoutConfiguration(Object(Closure))
#18 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Livewire\Component->__invoke()
#19 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::{closure:Illuminate\Container\BoundMethod::call():35}()
#20 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#21 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#22 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#23 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Mechanisms/HandleRouting/LivewirePageController.php(15): Illuminate\Container\Container->call(Array)
#24 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): Livewire\Mechanisms\HandleRouting\LivewirePageController->__invoke()
#25 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Livewire\Mechanisms\HandleRouting\LivewirePageController), '__invoke')
#26 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\Routing\Route->runController()
#27 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\Routing\Route->run()
#28 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Router->{closure:Illuminate\Routing\Router::runRouteWithinStack():821}(Object(Illuminate\Http\Request))
#29 /Users/fabianwesner/Herd/shop/app/Http/Middleware/CheckStoreRole.php(30): Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}(Object(Illuminate\Http\Request))
#30 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\Http\Middleware\CheckStoreRole->handle(Object(Illuminate\Http\Request), Object(Closure))
#31 /Users/fabianwesner/Herd/shop/app/Http/Middleware/ResolveStore.php(38): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#32 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\Http\Middleware\ResolveStore->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php(41): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#34 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Auth\Middleware\EnsureEmailIsVerified->handle(Object(Illuminate\Http\Request), Object(Closure))
#35 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#36 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#37 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#38 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Auth\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure))
#39 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#40 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#41 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#42 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#44 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\EncryptedStore), Object(Closure))
#45 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#47 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#48 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#49 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#50 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#51 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#52 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#53 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#54 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#55 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#56 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Kernel->{closure:Illuminate\Foundation\Http\Kernel::dispatchToRouter():197}(Object(Illuminate\Http\Request))
#57 /Users/fabianwesner/Herd/shop/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}(Object(Illuminate\Http\Request))
#58 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#59 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#60 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#61 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#62 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#63 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#64 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#65 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#66 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#67 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#68 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#69 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(61): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#70 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#71 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#72 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#73 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#74 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Foundation\Http\Middleware\InvokeDeferredCallbacks->handle(Object(Illuminate\Http\Request), Object(Closure))
#75 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#76 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\Http\Middleware\ValidatePathEncoding->handle(Object(Illuminate\Http\Request), Object(Closure))
#77 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():194}:195}(Object(Illuminate\Http\Request))
#78 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#79 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#80 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php(607): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#81 /Users/fabianwesner/Herd/shop/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php(368): Illuminate\Foundation\Testing\TestCase->call('GET', '/admin', Array, Array, Array, Array)
#82 /Users/fabianwesner/Herd/shop/tests/Feature/Admin/DashboardTest.php(81): Illuminate\Foundation\Testing\TestCase->get('/admin')
#83 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Factories/TestCaseMethodFactory.php(168): P\Tests\Feature\Admin\DashboardTest->{closure:/Users/fabianwesner/Herd/shop/tests/Feature/Admin/DashboardTest.php:69}()
#84 [internal function]: P\Tests\Feature\Admin\DashboardTest->{closure:Pest\Factories\TestCaseMethodFactory::getClosure():158}()
#85 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(429): call_user_func_array(Object(Closure), Array)
#86 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Support/ExceptionTrace.php(26): P\Tests\Feature\Admin\DashboardTest->{closure:Pest\Concerns\Testable::__callClosure():429}()
#87 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(429): Pest\Support\ExceptionTrace::ensure(Object(Closure))
#88 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Concerns/Testable.php(331): P\Tests\Feature\Admin\DashboardTest->__callClosure(Object(Closure), Array)
#89 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Factories/TestCaseFactory.php(169) : eval()'d code(17): P\Tests\Feature\Admin\DashboardTest->__runTest(Object(Closure))
#90 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(1332): P\Tests\Feature\Admin\DashboardTest->__pest_evaluable_admin_dashboard_route_requires_authentication_and_renders_store_scoped_metrics()
#91 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(519): PHPUnit\Framework\TestCase->runTest()
#92 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestRunner/TestRunner.php(99): PHPUnit\Framework\TestCase->runBare()
#93 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestCase.php(359): PHPUnit\Framework\TestRunner->run(Object(P\Tests\Feature\Admin\DashboardTest))
#94 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/Framework/TestSuite.php(374): PHPUnit\Framework\TestCase->run()
#95 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(64): PHPUnit\Framework\TestSuite->run()
#96 /Users/fabianwesner/Herd/shop/vendor/phpunit/phpunit/src/TextUI/Application.php(229): PHPUnit\TextUI\TestRunner->run(Object(PHPUnit\TextUI\Configuration\Configuration), Object(PHPUnit\Runner\ResultCache\DefaultResultCache), Object(PHPUnit\Framework\TestSuite))
#97 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/src/Kernel.php(103): PHPUnit\TextUI\Application->run(Array)
#98 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest(184): Pest\Kernel->handle(Array, Array)
#99 /Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest(192): {closure:/Users/fabianwesner/Herd/shop/vendor/pestphp/pest/bin/pest:18}()
#100 {main}

----------------------------------------------------------------------------------

Class "Illuminate\Support\CarbonPeriod" not found

  at tests/Feature/Admin/DashboardTest.php:82
     78▕
     79▕     $this->actingAs(adminDashboardUser())
     80▕         ->withSession(['current_store_id' => $store->getKey()])
     81▕         ->get('/admin')
  ➜  82▕         ->assertSuccessful()
     83▕         ->assertSee('Dashboard')
     84▕         ->assertSee('70.00 EUR')
     85▕         ->assertSee('Dashboard Jacket')
     86▕         ->assertDontSee('Other Store Product');

  ────────────────────────────────────────────────────────────────────────────
   FAILED  Tests\Feature\Admin\DashboardTest > admin dashboar…  ViewException
  Class "Illuminate\Support\CarbonPeriod" not found (View: /Users/fabianwesner/Herd/shop/storage/framework/views/a168b0ebcff266df6b662fc4b6d06e88.blade.php)

  at app/Livewire/Admin/Dashboard.php:140
    136▕             ->selectRaw('date(placed_at) as order_date, count(*) as aggregate')
    137▕             ->groupBy('order_date')
    138▕             ->pluck('aggregate', 'order_date');
    139▕
  ➜ 140▕         $this->ordersChartData = collect(CarbonPeriod::create($start->copy()->startOfDay(), '1 day', $end->copy()->startOfDay()))
    141▕             ->map(fn (CarbonInterface $date): array => [
    142▕                 'date' => $date->toDateString(),
    143▕                 'label' => $date->format('M j'),
    144▕                 'count' => (int) ($counts[$date->toDateString()] ?? 0),

  1   app/Livewire/Admin/Dashboard.php:140
  2   app/Livewire/Admin/Dashboard.php:126

  Tests:    2 failed (3 assertions)
  Duration: 0.98s


Input:
*** Begin Patch
*** Update File: /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php
@@
 use App\Models\Store;
 use App\Support\Money;
 use Carbon\CarbonInterface;
+use Carbon\CarbonPeriod;
 use Illuminate\Database\Eloquent\Builder;
 use Illuminate\Support\Carbon;
-use Illuminate\Support\CarbonPeriod;
*** End Patch


@@ -12,5 +12,5 @@
 use Carbon\CarbonInterface;
+use Carbon\CarbonPeriod;
 use Illuminate\Database\Eloquent\Builder;
 use Illuminate\Support\Carbon;
-use Illuminate\Support\CarbonPeriod;
 use Livewire\Attributes\Computed;


Output: {"output":"Success. Updated the following files:\nM /Users/fabianwesner/Herd/shop/app/Livewire/Admin/Dashboard.php\n","metadata":{"exit_code":0,"duration_seconds":0.0}}


Output:
Chunk ID: 0ec200
Wall time: 0.2880 seconds
Process exited with code 0
Original token count: 5
Output:
{"result":"pass"}


/bin/zsh
-lc
vendor/bin/pint --dirty --format agent


php artisan test --compact tests/Feature/Admin/DashboardTest.php


Output:
Chunk ID: 217fac
Wall time: 1.0015 seconds
Process running with session ID 41844
Original token count: 0
Output:


php artisan test --compact tests/Feature/Admin/DashboardTest.php

  ..

  Tests:    2 passed (13 assertions)
  Duration: 0.86s


Output:
Chunk ID: 809e40
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 16
Output:

  ..

  Tests:    2 passed (13 assertions)
  Duration: 0.86s


Inspect admin spec and current admin patterns

Build Livewire admin dashboard route/component/view

Add focused Pest coverage for dashboard scoping and filters

Run formatter, tests, build, progress update, commit


Output: Plan updated


The focused dashboard tests pass after adjusting the Carbon imports. I’m running the affected admin suite, route check, and frontend build next because this changed a Livewire page and Blade layout path.


php artisan test --compact tests/Feature/Admin


php artisan route:list --path=admin --except-vendor


php artisan route:list --path=admin --except-vendor

  POST       admin/logout ....................................... admin.logout
  GET|HEAD   api/admin/v1/stores/{store}/orders api.admin.v1.orders.index › A…
  GET|HEAD   api/admin/v1/stores/{store}/orders/{order} api.admin.v1.orders.s…
  POST       api/admin/v1/stores/{store}/orders/{order}/fulfillments api.admi…
  POST       api/admin/v1/stores/{store}/orders/{order}/refunds api.admin.v1.…

                                                            Showing [5] routes


> build
> vite build

vite v7.3.1 building client environment for production...
transforming...
✓ 2 modules transformed.
Generated an empty chunk: "app".
rendering chunks...
computing gzip size...
public/build/manifest.json              0.33 kB │ gzip:  0.17 kB
public/build/assets/app-BzxBlWQD.css  225.78 kB │ gzip: 30.99 kB
public/build/assets/app-l0sNRNKZ.js     0.00 kB │ gzip:  0.02 kB
✓ built in 392ms


Output:
Chunk ID: 7f1d15
Wall time: 1.0004 seconds
Process running with session ID 37709
Original token count: 0
Output:


Output:
Chunk ID: 7da283
Wall time: 0.1842 seconds
Process exited with code 0
Original token count: 122
Output:

  POST       admin/logout ....................................... admin.logout
  GET|HEAD   api/admin/v1/stores/{store}/orders api.admin.v1.orders.index › A…
  GET|HEAD   api/admin/v1/stores/{store}/orders/{order} api.admin.v1.orders.s…
  POST       api/admin/v1/stores/{store}/orders/{order}/fulfillments api.admi…
  POST       api/admin/v1/stores/{store}/orders/{order}/refunds api.admin.v1.…

                                                            Showing [5] routes


Output:
Chunk ID: e23770
Wall time: 0.7343 seconds
Process exited with code 0
Original token count: 105
Output:

> build
> vite build

vite v7.3.1 building client environment for production...
transforming...
✓ 2 modules transformed.
Generated an empty chunk: "app".
rendering chunks...
computing gzip size...
public/build/manifest.json              0.33 kB │ gzip:  0.17 kB
public/build/assets/app-BzxBlWQD.css  225.78 kB │ gzip: 30.99 kB
public/build/assets/app-l0sNRNKZ.js     0.00 kB │ gzip:  0.02 kB
✓ built in 392ms


php artisan test --compact tests/Feature/Admin

  .......

  Tests:    7 passed (43 assertions)
  Duration: 2.44s


Output:
Chunk ID: 27ba10
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 17
Output:

  .......

  Tests:    7 passed (43 assertions)
  Duration: 2.44s


php artisan route:list --name=admin.dashboard


Output:
Chunk ID: ce6b10
Wall time: 0.0391 seconds
Process exited with code 0
Original token count: 42
Output:

  GET|HEAD       admin admin.dashboard › Livewire\Mechanisms › LivewirePageCo…

                                                            Showing [1] routes


php artisan route:list --name=admin.dashboard

  GET|HEAD       admin admin.dashboard › Livewire\Mechanisms › LivewirePageCo…

                                                            Showing [1] routes


The affected admin suite and Vite build are clean, and `/admin` now resolves to the Livewire dashboard route. I’m running the full Pest suite and then I’ll refresh the seeded database for browser smoke verification.


Output:
Chunk ID: a09261
Wall time: 1.0011 seconds
Process running with session ID 58149
Original token count: 1
Output:

  .


Output:
Chunk ID: b95f42
Wall time: 5.0002 seconds
Process running with session ID 58149
Original token count: 21
Output:
...........................................................................
  .....


Output:
Chunk ID: e3e7a8
Wall time: 1.7553 seconds
Process exited with code 0
Original token count: 29
Output:
....................................................

  Tests:    133 passed (641 assertions)
  Duration: 16.60s


The full suite passes: 133 tests, 641 assertions. I’m refreshing the local database now so the Herd browser check runs against seeded state.


php artisan migrate:fresh --seed --no-interaction


Output:
Chunk ID: 430d37
Wall time: 0.9861 seconds
Process exited with code 0
Original token count: 1629
Output:

  Dropping all tables ............................................ 5.27ms DONE

   INFO  Preparing database.

  Creating migration table ....................................... 2.05ms DONE

   INFO  Running migrations.

  0001_01_01_000000_create_users_table ........................... 1.57ms DONE
  0001_01_01_000001_create_cache_table ........................... 0.37ms DONE
  0001_01_01_000002_create_jobs_table ............................ 0.90ms DONE
  2025_08_14_170933_add_two_factor_columns_to_users_table ........ 0.44ms DONE
  2026_05_03_211409_create_organizations_table ................... 0.20ms DONE
  2026_05_03_211413_create_stores_table .......................... 4.55ms DONE
  2026_05_03_211416_create_store_domains_table ................... 0.42ms DONE
  2026_05_03_211419_create_store_settings_table .................. 0.17ms DONE
  2026_05_03_211425_create_store_users_table ..................... 0.34ms DONE
  2026_05_03_211556_create_customers_table ....................... 0.32ms DONE
  2026_05_03_212158_create_customer_password_reset_tokens_table .. 0.19ms DONE
  2026_05_03_213856_create_products_table ........................ 0.58ms DONE
  2026_05_03_213857_create_product_options_table ................. 0.30ms DONE
  2026_05_03_213858_create_product_option_values_table ........... 0.31ms DONE
  2026_05_03_213859_create_product_variants_table ................ 0.59ms DONE
  2026_05_03_213900_create_variant_option_values_table ........... 0.25ms DONE
  2026_05_03_213901_create_inventory_items_table ................. 0.31ms DONE
  2026_05_03_213902_create_collections_table ..................... 0.41ms DONE
  2026_05_03_213903_create_collection_products_table ............. 0.42ms DONE
  2026_05_03_213904_create_product_media_table ................... 0.50ms DONE
  2026_05_03_223824_create_themes_table .......................... 0.33ms DONE
  2026_05_03_223830_create_theme_files_table ..................... 0.31ms DONE
  2026_05_03_223837_create_theme_settings_table .................. 0.16ms DONE
  2026_05_03_223841_create_pages_table ........................... 0.41ms DONE
  2026_05_03_223844_create_navigation_menus_table ................ 0.32ms DONE
  2026_05_03_223848_create_navigation_items_table ................ 0.32ms DONE
  2026_05_03_225400_create_carts_table ........................... 0.40ms DONE
  2026_05_03_225405_create_cart_lines_table ...................... 0.42ms DONE
  2026_05_03_225409_create_checkouts_table ....................... 0.62ms DONE
  2026_05_03_225413_create_shipping_zones_table .................. 0.26ms DONE
  2026_05_03_225418_create_shipping_rates_table .................. 0.31ms DONE
  2026_05_03_225422_create_tax_settings_table .................... 0.20ms DONE
  2026_05_03_225427_create_discounts_table ....................... 0.50ms DONE
  2026_05_04_000408_create_customer_addresses_table .............. 0.30ms DONE
  2026_05_04_000408_create_orders_table .......................... 1.30ms DONE
  2026_05_04_000410_create_order_lines_table ..................... 0.60ms DONE
  2026_05_04_000411_create_payments_table ........................ 0.71ms DONE
  2026_05_04_000412_create_refunds_table ......................... 0.57ms DONE
  2026_05_04_000413_create_fulfillments_table .................... 0.52ms DONE
  2026_05_04_000414_create_fulfillment_lines_table ............... 0.36ms DONE

   INFO  Seeding database.

  Database\Seeders\OrganizationSeeder ................................ RUNNING
  Database\Seeders\OrganizationSeeder .............................. 5 ms DONE

  Database\Seeders\StoreSeeder ....................................... RUNNING
  Database\Seeders\StoreSeeder ..................................... 1 ms DONE

  Database\Seeders\StoreDomainSeeder ................................. RUNNING
  Database\Seeders\StoreDomainSeeder ............................... 1 ms DONE

  Database\Seeders\UserSeeder ........................................ RUNNING
  Database\Seeders\UserSeeder .................................... 271 ms DONE

  Database\Seeders\StoreUserSeeder ................................... RUNNING
  Database\Seeders\StoreUserSeeder ................................. 1 ms DONE

  Database\Seeders\StoreSettingsSeeder ............................... RUNNING
  Database\Seeders\StoreSettingsSeeder ............................. 2 ms DONE

  Database\Seeders\CollectionSeeder .................................. RUNNING
  Database\Seeders\CollectionSeeder ................................ 3 ms DONE

  Database\Seeders\ProductSeeder ..................................... RUNNING
  Database\Seeders\ProductSeeder ................................. 204 ms DONE

  Database\Seeders\ThemeSeeder ....................................... RUNNING
  Database\Seeders\ThemeSeeder ..................................... 1 ms DONE

  Database\Seeders\ThemeFileSeeder ................................... RUNNING
  Database\Seeders\ThemeFileSeeder ................................. 2 ms DONE

  Database\Seeders\ThemeSettingsSeeder ............................... RUNNING
  Database\Seeders\ThemeSettingsSeeder ............................. 1 ms DONE

  Database\Seeders\PageSeeder ........................................ RUNNING
  Database\Seeders\PageSeeder ...................................... 2 ms DONE

  Database\Seeders\NavigationMenuSeeder .............................. RUNNING
  Database\Seeders\NavigationMenuSeeder ............................ 1 ms DONE

  Database\Seeders\NavigationItemSeeder .............................. RUNNING
  Database\Seeders\NavigationItemSeeder ............................ 4 ms DONE

  Database\Seeders\TaxSettingsSeeder ................................. RUNNING
  Database\Seeders\TaxSettingsSeeder ............................... 1 ms DONE

  Database\Seeders\ShippingZoneSeeder ................................ RUNNING
  Database\Seeders\ShippingZoneSeeder .............................. 1 ms DONE

  Database\Seeders\ShippingRateSeeder ................................ RUNNING
  Database\Seeders\ShippingRateSeeder .............................. 2 ms DONE

  Database\Seeders\DiscountSeeder .................................... RUNNING
  Database\Seeders\DiscountSeeder .................................. 3 ms DONE

  Database\Seeders\CustomerSeeder .................................... RUNNING
  Database\Seeders\CustomerSeeder ................................ 266 ms DONE


Output:
Wall time: 0.1698 seconds
Output:
[{"type":"text","text":"http://shop.test/admin"}]


The database refresh passed. I’m opening `http://shop.test/admin`, signing in if needed, and checking the dashboard page for render and console issues.


### Ran Playwright code
```js
await page.goto('http://shop.test/admin');
```
### Open tabs
- 0: [Checkout](http://shop.test/checkout)
- 1: (current) [Dashboard](http://shop.test/admin)
### Page
- Page URL: http://shop.test/admin
- Page Title: Dashboard
### Snapshot
- [Snapshot](.playwright-mcp/page-2026-05-04T01-32-45-596Z.yml)
### Events
- New console entries: .playwright-mcp/console-2026-05-04T01-32-45-421Z.log#L1


Output:
Wall time: 0.1788 seconds
Output:
[{"type":"text","text":"### Ran Playwright code\n```js\nawait page.goto('http://shop.test/admin');\n```\n### Open tabs\n- 0: [Checkout](http://shop.test/checkout)\n- 1: (current) [Dashboard](http://shop.test/admin)\n### Page\n- Page URL: http://shop.test/admin\n- Page Title: Dashboard\n### Snapshot\n- [Snapshot](.playwright-mcp/page-2026-05-04T01-32-45-596Z.yml)\n### Events\n- New console entries: .playwright-mcp/console-2026-05-04T01-32-45-421Z.log#L1"}]


### Open tabs
- 0: [Checkout](http://shop.test/checkout)
- 1: (current) [Dashboard](http://shop.test/admin)
### Page
- Page URL: http://shop.test/admin
- Page Title: Dashboard
### Snapshot
```yaml
- generic [active] [ref=e1]:
  - generic [ref=e2]:
    - link "Shop" [ref=e4] [cursor=pointer]:
      - /url: http://shop.test/admin
      - img [ref=e6]
      - generic [ref=e8]: Shop
    - navigation [ref=e9]:
      - generic [ref=e10]:
        - generic [ref=e12]: Platform
        - link "Dashboard" [ref=e15] [cursor=pointer]:
          - /url: http://shop.test/admin
      - generic [ref=e20]:
        - generic [ref=e22]: Products
        - generic [ref=e23]
      - generic [ref=e42]:
        - generic [ref=e44]: Operations
        - link "Orders" [ref=e47] [cursor=pointer]:
          - /url: http://shop.test/admin/orders
    - navigation [ref=e53]:
      - link "Repository" [ref=e55] [cursor=pointer]:
        - /url: https://github.com/laravel/livewire-starter-kit
        - img [ref=e57]
        - generic [ref=e62]: Repository
      - link "Documentation" [ref=e64] [cursor=pointer]:
        - /url: https://laravel.com/docs/starter-kits#livewire
        - img [ref=e66]
        - generic [ref=e68]: Documentation
    - button "AA Acme Admin" [ref=e70]:
      - generic [ref=e73]: AA
      - generic [ref=e74]: Acme Admin
      - img [ref=e76]
  - generic [ref=e80]:
    - generic [ref=e81]:
      - generic [ref=e82]:
        - generic [ref=e83]: Dashboard
        - paragraph [ref=e84]: Sales, orders, and product movement for the selected store.
      - generic [ref=e85]:
        - combobox "Date range" [ref=e86]
        - textbox "Custom range start" [disabled] [ref=e88]
        - textbox "Custom range end" [disabled] [ref=e91]
    - generic [ref=e93]:
      - generic [ref=e94]:
        - generic [ref=e95]
        - generic [ref=e102]
      - generic [ref=e106]:
        - generic [ref=e107]
        - generic [ref=e114]
      - generic [ref=e118]:
        - generic [ref=e119]
        - generic [ref=e126]
      - generic [ref=e130]:
        - generic [ref=e131]
        - generic [ref=e138]
    - generic [ref=e142]:
      - generic [ref=e143]:
        - generic [ref=e145]
        - generic [ref=e148]
      - generic [ref=e161]:
        - generic [ref=e162]: Top products
        - paragraph [ref=e163]: Ranked by order-line revenue
        - generic [ref=e165]
    - generic [ref=e169]:
      - generic [ref=e171]:
        - generic [ref=e172]: Conversion funnel
        - paragraph [ref=e173]: Current range activity
      - generic [ref=e174]:
        - generic [ref=e176]
        - generic [ref=e182]
        - generic [ref=e188]
        - generic [ref=e194]
```


Output:
Wall time: 0.0115 seconds
Output:
[{"type":"text","text":"### Open tabs\n- 0: [Checkout](http://shop.test/checkout)\n- 1: (current) [Dashboard](http://shop.test/admin)\n### Page\n- Page URL: http://shop.test/admin\n- Page Title: Dashboard\n### Snapshot\n```yaml\n- generic [active] [ref=e1]:\n  - generic [ref=e2]:\n    - link \"Shop\" [ref=e4] [cursor=pointer]:\n      - /url: http://shop.test/admin\n      - img [ref=e6]\n      - generic [ref=e8]: Shop\n    - navigation [ref=e9]:\n      - generic [ref=e10]:\n        - generic [ref=e12]: Platform\n        - link \"Dashboard\" [ref=e15] [cursor=pointer]:\n          - /url: http://shop.test/admin\n      - generic [ref=e20]:\n        - generic [ref=e22]: Products\n        - generic [ref=e23]\n      - generic [ref=e42]:\n        - generic [ref=e44]: Operations\n        - link \"Orders\" [ref=e47] [cursor=pointer]:\n          - /url: http://shop.test/admin/orders\n    - navigation [ref=e53]:\n      - link \"Repository\" [ref=e55] [cursor=pointer]:\n        - /url: https://github.com/laravel/livewire-starter-kit\n        - img [ref=e57]\n        - generic [ref=e62]: Repository\n      - link \"Documentation\" [ref=e64] [cursor=pointer]:\n        - /url: https://laravel.com/docs/starter-kits#livewire\n        - img [ref=e66]\n        - generic [ref=e68]: Documentation\n    - button \"AA Acme Admin\" [ref=e70]:\n      - generic [ref=e73]: AA\n      - generic [ref=e74]: Acme Admin\n      - img [ref=e76]\n  - generic [ref=e80]:\n    - generic [ref=e81]:\n      - generic [ref=e82]:\n        - generic [ref=e83]: Dashboard\n        - paragraph [ref=e84]: Sales, orders, and product movement for the selected store.\n      - generic [ref=e85]:\n        - combobox \"Date range\" [ref=e86]\n        - textbox \"Custom range start\" [disabled] [ref=e88]\n        - textbox \"Custom range end\" [disabled] [ref=e91]\n    - generic [ref=e93]:\n      - generic [ref=e94]:\n        - generic [ref=e95]\n        - generic [ref=e102]\n      - generic [ref=e106]:\n        - generic [ref=e107]\n        - generic [ref=e114]\n      - generic [ref=e118]:\n        - generic [ref=e119]\n        - generic [ref=e126]\n      - generic [ref=e130]:\n        - generic [ref=e131]\n        - generic [ref=e138]\n    - generic [ref=e142]:\n      - generic [ref=e143]:\n        - generic [ref=e145]\n        - generic [ref=e148]\n      - generic [ref=e161]:\n        - generic [ref=e162]: Top products\n        - paragraph [ref=e163]: Ranked by order-line revenue\n        - generic [ref=e165]\n    - generic [ref=e169]:\n      - generic [ref=e171]:\n        - generic [ref=e172]: Conversion funnel\n        - paragraph [ref=e173]: Current range activity\n      - generic [ref=e174]:\n        - generic [ref=e176]\n        - generic [ref=e182]\n        - generic [ref=e188]\n        - generic [ref=e194]\n```"}]


### Result
Total messages: 3 (Errors: 0, Warnings: 0)
Returning 0 messages for level "warning"


Output:
Wall time: 0.0190 seconds
Output:
[{"type":"text","text":"### Result\nTotal messages: 3 (Errors: 0, Warnings: 0)\nReturning 0 messages for level \"warning\"\n"}]


### Result
- [Screenshot of full page](./admin-dashboard-desktop.png)
### Ran Playwright code
```js
// Screenshot full page and save it as ./admin-dashboard-desktop.png
await page.screenshot({
  fullPage: true,
  path: './admin-dashboard-desktop.png',
  scale: 'css',
  type: 'png'
});
```


Wall time: 0.2721 seconds
Output:

### Result
- [Screenshot of full page](./admin-dashboard-desktop.png)
### Ran Playwright code
```js
// Screenshot full page and save it as ./admin-dashboard-desktop.png
await page.screenshot({
  fullPage: true,
  path: './admin-dashboard-desktop.png',
  scale: 'css',
  type: 'png'
});
```


### Ran Playwright code
```js
await page.setViewportSize({ width: 390, height: 844 });
```


Output:
Wall time: 0.0382 seconds
Output:
[{"type":"text","text":"### Ran Playwright code\n```js\nawait page.setViewportSize({ width: 390, height: 844 });\n```"}]


### Result
- [Screenshot of full page](./admin-dashboard-mobile.png)
### Ran Playwright code
```js
// Screenshot full page and save it as ./admin-dashboard-mobile.png
await page.screenshot({
  fullPage: true,
  path: './admin-dashboard-mobile.png',
  scale: 'css',
  type: 'png'
});
```


Wall time: 0.1538 seconds
Output:

### Result
- [Screenshot of full page](./admin-dashboard-mobile.png)
### Ran Playwright code
```js
// Screenshot full page and save it as ./admin-dashboard-mobile.png
await page.screenshot({
  fullPage: true,
  path: './admin-dashboard-mobile.png',
  scale: 'css',
  type: 'png'
});
```


Output:
Wall time: 0.0139 seconds
Output:
[{"type":"text","text":"### Result\nTotal messages: 3 (Errors: 0, Warnings: 0)\nReturning 0 messages for level \"warning\"\n"}]


The dashboard renders cleanly on desktop and a 390px mobile viewport with no current browser warnings or errors. I’m checking the worktree for generated Playwright artifacts, then I’ll update the progress ledger for this admin dashboard slice.


[2026-05-03 21:32:56] local.ERROR: Uncaught TypeError: Illegal invocation http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae 1424 26 TypeError Illegal invocation TypeError: Illegal invocation
    at runIfTypeOfFunction (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1424:26)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1412:11
    at tryCatch (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1309:14)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3859:19
    at reactiveEffect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:2693:18)
    at Object.effect2 [as effect] (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:2668:7)
    at effect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:935:35)
    at wrappedEffect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:951:29)
    at handler2 (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3859:5)
    at flushHandlers (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1527:48) {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.ERROR: Uncaught TypeError: Illegal invocation http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae 1424 26 TypeError Illegal invocation TypeError: Illegal invocation
    at runIfTypeOfFunction (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1424:26)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1412:11
    at tryCatch (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1309:14)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3859:19
    at reactiveEffect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:2693:18)
    at Object.effect2 [as effect] (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:2668:7)
    at effect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:935:35)
    at wrappedEffect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:951:29)
    at handler2 (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3859:5)
    at flushHandlers (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1527:48) {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.ERROR: Uncaught TypeError: Illegal invocation http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae 1424 26 TypeError Illegal invocation TypeError: Illegal invocation
    at runIfTypeOfFunction (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1424:26)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1412:11
    at tryCatch (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1309:14)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3859:19
    at reactiveEffect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:2693:18)
    at Object.effect2 [as effect] (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:2668:7)
    at effect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:935:35)
    at wrappedEffect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:951:29)
    at handler2 (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3859:5)
    at flushHandlers (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1527:48) {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.ERROR: Uncaught TypeError: Illegal invocation http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae 1424 26 TypeError Illegal invocation TypeError: Illegal invocation
    at runIfTypeOfFunction (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1424:26)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1412:11
    at tryCatch (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1309:14)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3859:19
    at reactiveEffect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:2693:18)
    at Object.effect2 [as effect] (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:2668:7)
    at effect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:935:35)
    at wrappedEffect (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:951:29)
    at handler2 (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3859:5)
    at flushHandlers (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1527:48) {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.ERROR: Uncaught ReferenceError: fluxInputViewable is not defined http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae 1330 7 ReferenceError fluxInputViewable is not defined ReferenceError: fluxInputViewable is not defined
    at [Alpine] fluxInputViewable (eval at safeAsyncFunction (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1385:21), <anonymous>:3:32)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1410:28
    at tryCatch (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1309:14)
    at evaluate (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1343:34)
    at Function.<anonymous> (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3890:17)
    at flushHandlers (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1527:48)
    at stopDeferring (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1532:7)
    at deferHandlingDirectives (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1535:5)
    at initTree (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1732:5)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1678:7 {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.ERROR: Uncaught ReferenceError: fluxInputViewable is not defined http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae 1330 7 ReferenceError fluxInputViewable is not defined ReferenceError: fluxInputViewable is not defined
    at [Alpine] fluxInputViewable (eval at safeAsyncFunction (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1385:21), <anonymous>:3:32)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1410:28
    at tryCatch (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1309:14)
    at evaluate (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1343:34)
    at Function.<anonymous> (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3890:17)
    at flushHandlers (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1527:48)
    at stopDeferring (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1532:7)
    at deferHandlingDirectives (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1535:5)
    at initTree (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1732:5)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1678:7 {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.ERROR: Uncaught ReferenceError: fluxInputViewable is not defined http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae 1330 7 ReferenceError fluxInputViewable is not defined ReferenceError: fluxInputViewable is not defined
    at [Alpine] fluxInputViewable (eval at safeAsyncFunction (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1385:21), <anonymous>:3:32)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1410:28
    at tryCatch (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1309:14)
    at evaluate (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1343:34)
    at Function.<anonymous> (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3890:17)
    at flushHandlers (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1527:48)
    at stopDeferring (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1532:7)
    at deferHandlingDirectives (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1535:5)
    at initTree (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1732:5)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1678:7 {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.ERROR: Uncaught ReferenceError: fluxInputViewable is not defined http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae 1330 7 ReferenceError fluxInputViewable is not defined ReferenceError: fluxInputViewable is not defined
    at [Alpine] fluxInputViewable (eval at safeAsyncFunction (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1385:21), <anonymous>:3:32)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1410:28
    at tryCatch (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1309:14)
    at evaluate (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1343:34)
    at Function.<anonymous> (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:3890:17)
    at flushHandlers (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1527:48)
    at stopDeferring (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1532:7)
    at deferHandlingDirectives (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1535:5)
    at initTree (http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1732:5)
    at http://shop.test/livewire-6701cc17/livewire.js?id=cfc5c1ae:1678:7 {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.WARNING: Livewire: missing closing tags found. Ensure your template elements contain matching closing tags. Y1jQ8DDcYzgTQ9o78LDp storefront.account.auth.login null null null false Y1jQ8DDcYzgTQ9o78LDp storefront.account.auth.login null null null false null null null 1 null {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}

[2026-05-03 21:32:56] local.WARNING: Livewire: missing closing tags found. Ensure your template elements contain matching closing tags. Y1jQ8DDcYzgTQ9o78LDp storefront.account.auth.login null null null false Y1jQ8DDcYzgTQ9o78LDp storefront.account.auth.login null null null false null null null 1 null {"url":"http://shop.test/account/login","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36","timestamp":"2026-05-03T21:32:55.973Z"}


 M routes/web.php
?? .playwright-mcp/console-2026-05-03T23-28-42-443Z.log
?? .playwright-mcp/console-2026-05-04T01-32-45-421Z.log
?? .playwright-mcp/page-2026-05-04T01-32-45-596Z.yml
?? admin-dashboard-desktop.png
?? admin-dashboard-mobile.png
?? app/Livewire/Admin/Dashboard.php
?? resources/views/livewire/admin/dashboard.blade.php
?? tests/Feature/Admin/DashboardTest.php


Output:
Chunk ID: 856ac3
Wall time: 0.0000 seconds
Process exited with code 0
Original token count: 94
Output:
 M routes/web.php
?? .playwright-mcp/console-2026-05-03T23-28-42-443Z.log
?? .playwright-mcp/console-2026-05-04T01-32-45-421Z.log
?? .playwright-mcp/page-2026-05-04T01-32-45-596Z.yml
?? admin-dashboard-desktop.png
?? admin-dashboard-mobile.png
?? app/Livewire/Admin/Dashboard.php
?? resources/views/livewire/admin/dashboard.blade.php
?? tests/Feature/Admin/DashboardTest.php