feat: set default date and time in CallCenterTab, update input styles
This commit is contained in:
@@ -137,6 +137,9 @@ describe('PatientDetailPage (پرونده تبدار)', () => {
|
||||
expect(await screen.findByText('ثبت تماس جدید')).toBeInTheDocument();
|
||||
expect(screen.getByText('تاریخچه تماسها')).toBeInTheDocument();
|
||||
expect(await screen.findByText('تماسی ثبت نشده است.')).toBeInTheDocument();
|
||||
// زمان تماس پیشفرض روی «الان» است، نه خالی.
|
||||
const timeInput = document.querySelector('input[type="time"]') as HTMLInputElement;
|
||||
expect(timeInput.value).toMatch(/^\d{2}:\d{2}$/);
|
||||
});
|
||||
|
||||
it('links "سرویس جدید" on the services tab to the new-session route', async () => {
|
||||
|
||||
Reference in New Issue
Block a user