mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 10:15:40 +00:00
fix(ui): hide application domains on compose resource cards
Remove FQDN display from service resource cards in both card and list layouts, and assert the template no longer renders resource domains.
This commit is contained in:
1 parent
ada3ea354a
commit
7d5c9fdbe1
2 files changed
+7
-10
No files matched your search
@@ -54,3 +54,10 @@ it('distinguishes domain management from resource settings', function () {
|
||||
->toContain('title="Resource settings" aria-label="Resource settings"')
|
||||
->not->toContain('title="Edit domains" aria-label="Edit domains"');
|
||||
});
|
||||
|
||||
it('does not display application domains on compose resource cards', function () {
|
||||
$resourceCard = file_get_contents(resource_path('views/livewire/project/service/resource-card.blade.php'));
|
||||
|
||||
expect($resourceCard)
|
||||
->not->toContain('{{ $resource->fqdn }}');
|
||||
});
|
||||
Reference in new issue
Block a user