JSON inside x-data broke the attribute and dumped JS onto the page; use a plain Blade form with queue-driven service points instead. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -117,6 +117,18 @@ class ServicePointRoutingTest extends TestCase
|
||||
]);
|
||||
}
|
||||
|
||||
public function test_web_issue_create_page_shows_service_point_without_alpine_leak(): void
|
||||
{
|
||||
[$user, , , $queue] = $this->setUpAssignedConsultation();
|
||||
|
||||
$this->actingAs($user)
|
||||
->get(route('qms.tickets.create', ['queue' => $queue->id]))
|
||||
->assertOk()
|
||||
->assertSee('Service point')
|
||||
->assertDontSee('needsPoint')
|
||||
->assertDontSee('onQueueChange');
|
||||
}
|
||||
|
||||
public function test_web_issue_without_service_point_returns_validation_error_not_500(): void
|
||||
{
|
||||
[$user, , , $queue] = $this->setUpAssignedConsultation();
|
||||
|
||||
Reference in New Issue
Block a user