toContain("localStorage.getItem('service-compose-resources-view') || 'table'") ->toContain("setViewMode('table')") ->toContain("setViewMode('grid')") ->toContain('aria-label="Table view"') ->toContain('aria-label="Grid view"') ->toContain("localStorage.setItem('service-compose-resources-view', mode)") ->not->toContain('>Sort') ->and($resourceCard) ->toContain("x-show=\"viewMode === 'grid'\"") ->toContain("x-show=\"viewMode === 'table'\""); }); it('directs compose application domain management to the parent service', function () { $resourceSettings = file_get_contents(resource_path('views/livewire/project/service/index.blade.php')); expect($resourceSettings) ->toContain('Manage domains, DNS checks, and redirects on the parent service') ->toContain("route('project.service.domains', \$parameters)") ->toContain('Manage domains') ->not->toContain('