coolify/tests/Feature/ApplicationDestinationStatusBadgeTest.php
Andras Bacsai 7c6d00c8de fix(ui): cap helper popup width and share destination status
Limit helper info popups to 320px with normal text wrapping so
content stacks vertically. Use the shared status-summary on the
application destination card instead of custom status badges.
2026-08-07 13:02:54 +02:00

10 lines
432 B
PHP

<?php
it('uses the shared status summary in the primary application server card', function () {
$view = file_get_contents(resource_path('views/livewire/project/shared/destination.blade.php'));
$applicationSection = str($view)->before('@else')->value();
expect($applicationSection)
->toContain('<x-status-summary :status="$resource->status" />')
->not->toContain('<x-status :resource="$resource"');
});