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
12 lines
534 B
PHP
12 lines
534 B
PHP
<?php
|
|
|
|
it('keeps the cluster selector and add button the same height', function () {
|
|
$clustersPage = file_get_contents(resource_path('js/v5/Pages/Clusters.tsx'));
|
|
|
|
expect($clustersPage)->toContain('<SelectTrigger')
|
|
->and($clustersPage)->toContain('className="w-full sm:w-72"')
|
|
->and($clustersPage)->toContain('variant="coolify"')
|
|
->and($clustersPage)->toContain('size="default"')
|
|
->and($clustersPage)->not->toContain('variant="coolify"\n size="sm"');
|
|
});
|