Restaurant (and other packages) now show Rush, Reservation, VIP table, etc. instead of clinic terms like Emergency and Elderly. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -131,6 +131,32 @@ class ServicePointRoutingTest extends TestCase
|
||||
->assertDontSee('@json');
|
||||
}
|
||||
|
||||
public function test_ticket_priority_labels_follow_industry_package(): void
|
||||
{
|
||||
$user = User::create([
|
||||
'public_id' => 'prio-rest-owner',
|
||||
'name' => 'Restaurant Owner',
|
||||
'email' => 'prio-rest@example.com',
|
||||
'password' => bcrypt('password'),
|
||||
]);
|
||||
app(OrganizationResolver::class)->completeOnboarding($user, [
|
||||
'organization_name' => 'Bistro',
|
||||
'industry' => 'restaurant',
|
||||
'appointment_mode' => 'hybrid',
|
||||
'branch_name' => 'Main',
|
||||
'timezone' => 'UTC',
|
||||
]);
|
||||
|
||||
$this->actingAs($user)
|
||||
->get(route('qms.tickets.create'))
|
||||
->assertOk()
|
||||
->assertSee('Rush')
|
||||
->assertSee('Reservation')
|
||||
->assertSee('VIP table')
|
||||
->assertDontSee('>Emergency<', false)
|
||||
->assertDontSee('>Elderly<', false);
|
||||
}
|
||||
|
||||
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