From c35d3d5c8c36a20a0f14a309332b803f68c20194 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 13 Oct 2026 11:25:33 +0200 Subject: [PATCH] fix(hostinger): use a searchable listbox for extra SSH keys --- .../livewire/server/new/by-hostinger.blade.php | 13 +++++-------- tests/Feature/HostingerServerCreationTest.php | 5 +++-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/resources/views/livewire/server/new/by-hostinger.blade.php b/resources/views/livewire/server/new/by-hostinger.blade.php index 34010ba5d9..d33e2e4cb4 100644 --- a/resources/views/livewire/server/new/by-hostinger.blade.php +++ b/resources/views/livewire/server/new/by-hostinger.blade.php @@ -120,14 +120,11 @@ - - @foreach ($hostinger_public_keys as $publicKey) - - @endforeach - + @if ($post_install_scripts) assertSee('Extra SSH keys') ->assertSee('Existing keys from the Hostinger account.') ->assertSee('Search SSH keys') - ->assertSeeHtml('') + ->assertSee('Operations') + ->assertSeeHtml('x-text="current">Select SSH keys') ->assertDontSeeHtml('Operations') ->assertDontSeeHtml('id="hostinger-public-key-42-'); @@ -413,7 +414,7 @@ it('labels the Hostinger status refresh button on the server page', function () Livewire::test(Show::class, ['server_uuid' => $server->uuid]) ->assertSee('Hostinger · Running') - ->assertSee('Refresh status') + ->assertSee('Refresh provider status') ->assertSeeHtml('wire:click.prevent="checkHostingerVirtualMachineStatus(true)"'); });