Files
coolify/tests/Feature/EnableButtonBrandingTest.php
Andras Bacsai 5de6f97256 feat(ui): unify resource nav sidebars and polish project layouts
Extract application/database/service configuration sidebars and
unified headings; improve clone-to-environment, embedded deployments,
storage actions, OAuth icons, terminal, and shared form components.
2026-08-05 17:56:59 +02:00

18 lines
651 B
PHP

<?php
it('uses highlighted styling for enable toggle actions', function () {
$views = [
resource_path('views/components/notification/channel-actions.blade.php'),
resource_path('views/livewire/settings-oauth.blade.php'),
resource_path('views/livewire/project/shared/scheduled-task/show.blade.php'),
];
foreach ($views as $view) {
expect(file_get_contents($view))->toContain('isHighlighted');
}
$terminalAccess = file_get_contents(resource_path('views/livewire/server/security/terminal-access.blade.php'));
expect($terminalAccess)->toContain(':isHighlightedButton="!$isTerminalEnabled"');
});