Improve desktop inspector layout
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user