mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 02:27:57 +00:00
Extract application/database/service configuration sidebars and unified headings; improve clone-to-environment, embedded deployments, storage actions, OAuth icons, terminal, and shared form components.
18 lines
651 B
PHP
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"');
|
|
});
|