toContain(':mobileTitleOnly="true"') ->toContain("@include('livewire.destination.sidebar'"); expect($resources) ->toContain(':mobileTitleOnly="true"') ->toContain("@include('livewire.destination.sidebar'"); expect($sidebar) ->toContain("'label' => 'General'") ->toContain("'label' => 'Resources'") ->toContain("'label' => 'Danger Zone'") ->toContain('application-settings-navigation min-w-0 xl:self-start'); expect($navbar) ->toContain("request()->routeIs('destination.show', 'destination.resources', 'destination.danger')") ->not->toContain("['label' => 'Resources', 'route' => 'destination.resources'"); expect($breadcrumbs) ->toContain('x-breadcrumb-switcher') ->toContain('$currentDestination->name') ->toContain("route('destination.show'") ->toContain("? 'Docker' : 'Deprecated'"); expect($breadcrumbs) ->toContain('Pages') ->toContain('Projects') ->toContain('Environments') ->not->toContain('M5 12l5 5 9-11'); expect($show) ->toContain('destination-danger-section') ->toContain('title="Danger zone"') ->not->toContain("actions=['This will delete the selected destination/network.']"); expect(file_get_contents(base_path('routes/web.php'))) ->toContain("->name('destination.danger')"); });