mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-25 18:25:58 +00:00
- Add V5BootstrapServerJob: SSH into new servers, install coold/WireGuard, track bootstrap progress via last_bootstrap_action/status/output fields - Add V5ClusterUpdated event: broadcasts full cluster+servers payload to team private channel on bootstrap state changes - Add V5RealtimeTestEvent + RealtimeTest page for WebSocket connectivity testing - Consolidate 3 dropped migrations into base cluster/server migrations: WireGuard config, builder CPU quota, status check fields, uuid - Auto-generate uuid on V5Model create via Schema::hasColumn guard - Expose currentTeam.id in Inertia shared props - Add showCluster, realtimeTest, broadcastRealtimeTest controller endpoints - Add dropdown-menu UI component
18 lines
740 B
PHP
18 lines
740 B
PHP
<?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');
|
|
});
|