mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 04:23:34 +00:00
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.
17 lines
653 B
PHP
17 lines
653 B
PHP
<?php
|
|
|
|
/**
|
|
* Docker CPU constraints docs link belongs in the CPU section header as a button.
|
|
*/
|
|
test('resource limits cpu docs link is a header action button', function () {
|
|
$view = file_get_contents(resource_path('views/livewire/project/shared/resource-limits.blade.php'));
|
|
|
|
expect($view)
|
|
->toContain('<x-slot:actions>')
|
|
->toContain('Docker CPU constraints')
|
|
->toContain('https://docs.docker.com/engine/containers/resource_constraints/#cpu')
|
|
->toContain('class="button"')
|
|
->toContain('name="external-link"')
|
|
->not->toContain('mt-4 inline-flex items-center gap-1 text-xs text-neutral-500');
|
|
});
|