mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 02:27:57 +00:00
Add responsive overflow handling and dedicated action menus for application, service, database, and server headings, while improving upgrade and email settings flows and returning 404s for missing deployment environments.
26 lines
1.0 KiB
PHP
26 lines
1.0 KiB
PHP
<?php
|
|
|
|
test('team notification resend section matches instance email layout', function () {
|
|
$instance = file_get_contents(resource_path('views/livewire/settings-email.blade.php'));
|
|
$team = file_get_contents(resource_path('views/livewire/notifications/email.blade.php'));
|
|
|
|
preg_match('/settings-section title="Resend".*?<\/x-application.settings-section>/s', $instance, $instanceResend);
|
|
preg_match('/settings-section title="Resend".*?<\/x-application.settings-section>/s', $team, $teamResend);
|
|
|
|
expect($instanceResend[0] ?? '')
|
|
->not->toBeEmpty()
|
|
->toContain('grid gap-4 lg:grid-cols-2')
|
|
->toContain('id="resendEnabled"')
|
|
->toContain('id="resendApiKey"')
|
|
->not->toContain('lg:col-span-2')
|
|
->not->toContain('description=');
|
|
|
|
expect($teamResend[0] ?? '')
|
|
->not->toBeEmpty()
|
|
->toContain('grid gap-4 lg:grid-cols-2')
|
|
->toContain('id="resendEnabled"')
|
|
->toContain('id="resendApiKey"')
|
|
->not->toContain('lg:col-span-2')
|
|
->not->toContain('description=');
|
|
});
|