Files
coolify/tests/Feature/ResourceIndexDescriptionSubtitleTest.php
Andras Bacsai a7a06aa6c8 feat(ui): polish domains, storage, env vars and resource nav
Improve project resource UIs: sort domains by DNS failure, stop re-adding www pairs on refresh, lazy-load storage tabs with counts, tighten env-var tables, keep application tabs active across Livewire polls, unify database type labels, and update related CSS/JS and tests.
2026-08-05 13:50:11 +02:00

12 lines
446 B
PHP

<?php
test('resource table subtitle shows description only and never falls back to uuid', function () {
$view = file_get_contents(resource_path('views/livewire/project/resource/index.blade.php'));
expect($view)
->toContain('x-show="item.description"')
->toContain('x-text="item.description"')
->not->toContain('item.description || item.fqdn || item.uuid')
->not->toContain('item.fqdn || item.uuid');
});