toContain('not->toContain("class=\"text-[10.5px] font-medium text-neutral-400 dark:text-fg-faint\">v{{ config('constants.coolify.version') }}"); expect($version) ->toContain("https://github.com/coollabsio/coolify/releases/tag/v{{ config('constants.coolify.version') }}") ->toContain('target="_blank"'); }); test('development versions are not linked to nonexistent github releases', function () { config(['constants.coolify.version' => '4.3.1-dev.d64cbda3e']); $version = Blade::render(''); expect($version) ->toContain('v4.3.1-dev.d64cbda3e') ->not->toContain('href=') ->not->toContain('target="_blank"'); }); test('mobile sidebar shows the installed coolify version when opened', function () { $layout = file_get_contents(resource_path('views/layouts/app.blade.php')); expect($layout) ->toContain('data-mobile-sidebar-brand') ->toContain('