Files
coolify/tests/Feature/V5/ClustersControlHeightTest.php
T
Andras Bacsai 24bbfe07c6 feat(v5): add server bootstrap job with realtime cluster broadcasting
- 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
2026-06-19 11:44:42 +02:00

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"');
});