feat: set default date and time in CallCenterTab, update input styles

This commit is contained in:
hamed
2026-07-16 12:38:22 +03:30
parent d4fd6c0020
commit 65083854cb
3 changed files with 13 additions and 4 deletions
@@ -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 () => {