diff --git a/resources/views/components/application/configuration-sidebar.blade.php b/resources/views/components/application/configuration-sidebar.blade.php index 57f26c9645..369d498c96 100644 --- a/resources/views/components/application/configuration-sidebar.blade.php +++ b/resources/views/components/application/configuration-sidebar.blade.php @@ -318,13 +318,19 @@ diff --git a/resources/views/components/modal-input.blade.php b/resources/views/components/modal-input.blade.php index 9c01f58bd9..bb4477e1ab 100644 --- a/resources/views/components/modal-input.blade.php +++ b/resources/views/components/modal-input.blade.php @@ -44,7 +44,7 @@ x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0" class="absolute inset-0 w-full h-full bg-black/50 backdrop-blur-[2px]">
-
Open server - + @if ($hasAdditionalDestinations) diff --git a/tests/Feature/ApplicationDestinationStatusBadgeTest.php b/tests/Feature/ApplicationDestinationStatusBadgeTest.php index 9dfbedb563..43bac41486 100644 --- a/tests/Feature/ApplicationDestinationStatusBadgeTest.php +++ b/tests/Feature/ApplicationDestinationStatusBadgeTest.php @@ -5,7 +5,7 @@ it('uses the shared status summary in the primary application server card', func $applicationSection = str($view)->before('@else')->value(); expect($applicationSection) - ->toContain('') + ->toContain('') ->not->toContain('Modal content'); + + expect($html)->toContain('Modal content'); +}); + test('confirmation modal closes before dispatching an event that can open another modal', function () { $modal = file_get_contents(resource_path('views/components/modal-confirmation.blade.php')); diff --git a/tests/Feature/SettingsSectionHighlightTest.php b/tests/Feature/SettingsSectionHighlightTest.php index a062c4c133..438f20192e 100644 --- a/tests/Feature/SettingsSectionHighlightTest.php +++ b/tests/Feature/SettingsSectionHighlightTest.php @@ -45,6 +45,18 @@ test('configuration sidebar subitems trigger section highlight on scroll', funct ->toContain('stableFrames'); }); +test('application configuration subitems scroll without navigating the active page', function () { + $sidebar = file_get_contents(resource_path('views/components/application/configuration-sidebar.blade.php')); + + expect($sidebar) + ->toContain("@if (\$menuItem['active'])") + ->toContain('