mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 10:23:30 +00:00
Standardize highlighted buttons, selected controls, and loading indicators on coollabs accent colors; improve light-mode log toolbar styling; enhance small popups with compact/icon modes; and align navbars, helpers, and related layouts with matching tests.
20 lines
762 B
PHP
20 lines
762 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Blade;
|
|
|
|
it('renders section helper copy as a tooltip on the underlined title', function () {
|
|
$html = Blade::render(<<<'BLADE'
|
|
<x-application.settings-section title="Primary server" helper="The server and network used by this resource.">
|
|
Content
|
|
</x-application.settings-section>
|
|
BLADE);
|
|
|
|
expect($html)
|
|
->toContain('Primary server')
|
|
->toContain('The server and network used by this resource.')
|
|
->toContain('aria-label="More information about Primary server"')
|
|
->toContain('class="underline underline-offset-4"')
|
|
->toContain('underline-offset-4')
|
|
->not->toMatch('/<p[^>]*>\s*The server and network used by this resource\.\s*<\/p>/');
|
|
});
|