Files
coolify/docs/v5/archive/tests/Feature/V5/AppNavbarTest.php.txt
Andras Bacsai 76030a30d4 chore(v5): archive V5 implementation and remove runtime integration
Move V5 source, migrations, UI, scripts, and tests into documentation, then remove V5 routes, models, jobs, configuration, dependencies, and application hooks.
2026-08-15 19:13:30 +02:00

18 lines
740 B
Plaintext

<?php
it('renders the Coolify dashboard icon smaller than the nav height', function () {
$navbar = file_get_contents(resource_path('js/v5/components/app-navbar.tsx'));
expect($navbar)->toContain('<img src="/coolify-logo.svg" alt="Coolify" className="size-6" />')
->and($navbar)->not->toContain('<img src="/coolify-logo.svg" alt="Coolify" className="size-8" />');
});
it('shows keyboard focus on ghost select dropdown triggers', function () {
$selectComponent = file_get_contents(resource_path('js/v5/components/ui/select.tsx'));
expect($selectComponent)
->toContain("variant === 'ghost'")
->toContain('focus-visible:border-ring')
->not->toContain('focus-visible:border-transparent');
});