Improve desktop inspector layout

This commit is contained in:
2026-08-05 15:57:10 +02:00
parent 20fb2d29e2
commit f2757c9b1c
7 changed files with 181 additions and 131 deletions
+13
View File
@@ -115,6 +115,19 @@ class WebhookInspectorTest extends TestCase
$this->assertSame('queued', $endpoint->response_body);
}
public function test_private_endpoint_settings_are_available_in_a_modal(): void
{
$user = User::factory()->create();
$endpoint = WebhookEndpoint::factory()->ownedBy($user)->create();
Livewire::actingAs($user)
->test(Inspector::class, ['endpoint' => $endpoint])
->set('showEndpointSettings', true)
->assertSee('Endpoint settings')
->assertSee('Send requests here')
->assertSee('Save response');
}
public function test_request_body_is_escaped_in_the_inspector(): void
{
$endpoint = WebhookEndpoint::factory()->create();