coolify/tests/Feature/NavigableCardHoverIndicatorTest.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

17 lines
559 B
PHP

<?php
it('shows the shared hover arrow on project and server cards', function () {
$views = [
resource_path('views/livewire/project/index.blade.php'),
resource_path('views/livewire/server/index.blade.php'),
];
foreach ($views as $view) {
$contents = file_get_contents($view);
expect($contents)
->toContain('<x-reicon name="arrow-right"')
->toContain('group-hover:translate-x-0.5 group-hover:opacity-100')
->toContain('pointer-events-none absolute top-1/2 right-3');
}
});