80 KiB
80 KiB
Loaded vitest@4.1.8 and @vitest/coverage-v8@4.1.6 .
Running mixed versions is not supported and may lead into bugs
Update your dependencies and make sure the versions match.
RUN v4.1.8 E:/np-dms/lcbp3/frontend
Coverage enabled with v8
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > creates a user with required fields and selected role
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/admin/reference/__tests__/generic-crud-table.test.tsx > GenericCrudTable > creates a new item from dialog form
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/admin/reference/__tests__/generic-crud-table.test.tsx > GenericCrudTable > creates a new item from dialog form
Checkbox is changing from controlled to uncontrolled. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
✓ components/admin/__tests__/organization-dialog.test.tsx (8 tests) 3073ms
✓ ควรเรนเดอร์ Dialog เมื่อ open เป็น true 523ms
✓ ควรแสดงปุ่ม Cancel และ Create Organization สำหรับ New 902ms
✓ ควรแสดงปุ่ม Save Changes สำหรับ Edit 309ms
✓ ควรเรียก onOpenChange(false) เมื่อคลิก Cancel 323ms
✓ ควรแสดง validation error เมื่อ submit form ว่างเปล่า 380ms
✓ components/admin/reference/__tests__/generic-crud-table.test.tsx (3 tests) 3343ms
✓ renders data rows returned by fetchFn 493ms
✓ creates a new item from dialog form 2652ms
✓ components/workflow/__tests__/integrated-banner.test.tsx (3 tests) 3730ms
✓ renders metadata, priority, workflow state, and legacy actions 1170ms
✓ requires comment for reject action 2378ms
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
✓ components/layout/__tests__/user-nav.test.tsx (5 tests) 4180ms
✓ ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount) 1370ms
✓ ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile 906ms
✓ ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings 829ms
✓ ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out 762ms
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > pre-fills existing user and submits update without empty password
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > closes when cancel is clicked
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/admin/__tests__/user-dialog.test.tsx (3 tests) 9233ms
✓ creates a user with required fields and selected role 6406ms
✓ pre-fills existing user and submits update without empty password 2302ms
✓ closes when cancel is clicked 514ms
✓ components/rfas/__tests__/form.test.tsx (27 tests) 10824ms
✓ should render form with all required fields 891ms
✓ should render optional fields 547ms
✓ should render submit button 413ms
✓ should show validation error for empty project 566ms
✓ should show validation error for empty contract 592ms
✓ should show validation error for empty discipline 581ms
✓ should show validation error for empty type 359ms
✓ should show validation error for short subject 656ms
✓ should show validation error for empty to organization 489ms
✓ should allow subject input 488ms
✓ should allow body input 402ms
✓ should allow remarks input 437ms
✓ should render shop drawing section 386ms
✓ should render as-built drawing section 374ms
✓ should show search input for shop drawings 317ms
✓ should show search input for as-built drawings 450ms
✓ should show preview section when form is valid 800ms
✓ should display preview number 775ms
✓ should call create mutation on valid submit 370ms
✓ should show loading state during submission 325ms
✓ components/transmittal/__tests__/transmittal-form.test.tsx (3 tests) 15486ms
✓ renders main sections and supports cancel navigation 2737ms
✓ shows validation errors when required fields are missing 1994ms
✓ submits cleaned transmittal payload and navigates to created record 10741ms
✓ lib/api/__tests__/admin.test.ts (10 tests) 5792ms
✓ ควร return array of users 526ms
✓ ควร return users ที่มี publicId, username, email 524ms
✓ ควร create user ใหม่และ return user object 814ms
✓ ควร assign userId ใหม่ให้ user 814ms
✓ ควร return array of organizations 511ms
✓ ควร return organizations ที่มี publicId, orgCode, orgName 513ms
✓ ควร create organization ใหม่และ return org object 603ms
✓ ควร assign orgId ใหม่ให้ organization 609ms
✓ ควร return array of audit logs 427ms
✓ ควร return logs ที่มี publicId, userName, action 407ms
stderr | components/admin/__tests__/sidebar.test.tsx > AdminMobileSidebar > opens mobile navigation from trigger button
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/admin/__tests__/sidebar.test.tsx (3 tests) 4226ms
✓ auto-expands the active menu and renders child links 1999ms
✓ toggles a collapsed menu on click 1334ms
✓ opens mobile navigation from trigger button 874ms
✓ components/correspondences/form.test.tsx (2 tests) 6172ms
✓ keeps edit prefilled values after mount (no reset on initial render) 4307ms
✓ keeps dependent fields intact after async effects (reset guard) 1856ms
✓ components/correspondences/detail.test.tsx (7 tests) 5536ms
✓ ควรเรนเดอร์รายละเอียดเอกสารและข้อมูลพื้นฐานได้ถูกต้อง 863ms
✓ ควรแสดงปุ่มและส่งคำขอเมื่อกด Submit for Review ในกรณีที่เป็น DRAFT 1845ms
✓ ควรแสดงข้อความเตือนภัยและซ่อนปุ่มการกระทำบางอย่างหากเอกสารถูกยกเลิก 514ms
✓ ควรแสดงปุ่ม Approve และ Reject ในกรณีที่เอกสารเป็น IN_REVIEW 391ms
✓ ควรเปิดการกดยืนยันการอนุมัติและส่งความคิดเห็นได้ถูกต้อง 590ms
✓ ควรเปิดส่วนยกเลิกเอกสารและส่งเหตุผลการยกเลิกได้ถูกต้อง 1127ms
✓ components/common/__tests__/file-preview-modal.test.tsx (6 tests) 5419ms
✓ renders iframe for PDF MIME type 2644ms
✓ renders img for image MIME type 666ms
✓ shows download link for unsupported MIME type (no iframe or img) 666ms
✓ calls onClose when close button is clicked 1008ms
✓ calls onUnavailable when API returns 404 418ms
✓ components/admin/security/__tests__/rbac-matrix.test.tsx (3 tests) 4363ms
✓ renders roles and permissions from API data 2235ms
✓ saves pending permission changes 1917ms
✓ components/numbering/__tests__/manual-override-form.test.tsx (12 tests) 4516ms
✓ should render form with all required fields 647ms
✓ should render with default projectId from props 402ms
✓ should show validation error for empty project 520ms
✓ should show validation error for empty originator 367ms
✓ should submit form with valid data 523ms
✓ should show error toast on submission failure 484ms
✓ should disable submit button while loading 382ms
✓ should reset form after successful submission 350ms
✓ components/correspondences/tag-manager.test.tsx (5 tests) 2694ms
✓ ควรเรียก remove mutation เมื่อคลิกปุ่มลบ tag และมีสิทธิ์แก้ไข 1532ms
✓ ควรเปิดส่วนเลือก tag และแสดง tag ที่พร้อมให้เพิ่มเมื่อคลิก Add Tag 667ms
✓ components/common/__tests__/pagination.test.tsx (6 tests) 3627ms
✓ ควรเรนเดอร์ข้อมูลหน้าปัจจุบัน หน้าทั้งหมด และรายการทั้งหมดสำเร็จ 1951ms
✓ ควร disable ปุ่ม Previous เมื่ออยู่หน้าแรก 354ms
✓ ควร disable ปุ่ม Next เมื่ออยู่หน้าสุดท้าย 354ms
✓ ควรเปลี่ยนหน้าเมื่อคลิกปุ่ม Next 370ms
✓ ควรเปลี่ยนหน้าเมื่อคลิกหมายเลขหน้าโดยตรง 329ms
✓ components/search/__tests__/filters.test.tsx (7 tests) 4864ms
✓ ควร render filters card 492ms
✓ ควรแสดง Document Type checkboxes 542ms
✓ ควรแสดง Status checkboxes 523ms
✓ ควรแสดง active count badge เมื่อมี filters 2162ms
✓ ควรแสดง Clear all filters button เมื่อมี active filters 703ms
✓ components/workflows/__tests__/dsl-editor.test.tsx (5 tests) 3884ms
✓ calls workflowApi.validateDSL when Validate button is clicked 2326ms
✓ calls onValidationChange(true) when validation returns errors 416ms
✓ calls onValidationChange(false) when validation returns valid 475ms
✓ calls onValidationChange(true) on server error 409ms
✓ components/admin/ai/__tests__/prompt-version-history.test.tsx (2 tests) 3074ms
✓ renders loading and empty states 617ms
✓ renders versions and triggers version actions 2427ms
✓ components/layout/__tests__/navbar.test.tsx (5 tests) 4531ms
✓ ควรเรนเดอร์ header ได้ถูกต้อง 3224ms
✓ ควรเรียก toggleSidebar เมื่อคลิกปุ่ม menu 726ms
stderr | components/layout/__tests__/layout-widgets.test.tsx > layout widgets > ProjectSwitcher ควรเลือก project และ global ได้
In HTML, <div> cannot be a child of <select>.
This will cause a hydration error.
<ProjectSwitcher>
<Select value="global" onValueChange={function onValueChange}>
> <select data-testid="project-select" value="global" onChange={function onChange}>
<SelectTrigger className="w-[200px] ...">
> <div className="flex items-center gap-2 truncate">
...
<select> cannot contain a nested <div>.
See this log for the ancestor stack trace.
✓ components/layout/__tests__/layout-widgets.test.tsx (8 tests) 7030ms
✓ Sidebar ควรแสดงเมนู admin และ collapse label ได้ 3877ms
✓ MobileSidebar ควร render navigation และซ่อน admin เมื่อ role ไม่ใช่ admin 553ms
✓ GlobalSearch ควร submit query และเปิด suggestion route ได้ 1832ms
✓ components/layout/__tests__/header.test.tsx (1 test) 2606ms
✓ renders application title and composed controls 2597ms
✓ components/ai/__tests__/ai-suggestion-button.test.tsx (2 tests) 2378ms
✓ ควร disable และแสดงข้อความ fallback เมื่อ AI ถูกปิด 2081ms
✓ components/admin/ai/__tests__/ocr-engine-selector.test.tsx (3 tests) 4121ms
✓ renders OCR engine data from admin service 686ms
✓ selects a non-active OCR engine and refreshes list 3227ms
✓ components/admin/ai/__tests__/prompt-type-dropdown.test.tsx (2 tests) 3288ms
✓ ควร render dropdown สำหรับเลือกประเภทพรอมต์ 2953ms
✓ ควร disabled dropdown เมื่อ disabled=true 325ms
✓ components/search/__tests__/results.test.tsx (8 tests) 1917ms
✓ ควร render loading state เมื่อ loading=true 1337ms
✓ components/ui/__tests__/button.test.tsx (17 tests) 3590ms
✓ should render with default variant and size 981ms
✓ should render destructive variant 326ms
✓ should render outline variant 419ms
✓ components/numbering/__tests__/sequence-viewer.test.tsx (13 tests) 1698ms
✓ should render loading state initially 384ms
✓ components/layout/__tests__/sidebar.test.tsx (4 tests) 1322ms
✓ ควร render mobile sidebar พร้อม navigation items 714ms
✓ components/common/__tests__/confirm-dialog.test.tsx (2 tests) 2357ms
✓ ควรเรนเดอร์เนื้อหาและปุ่มต่างๆ ได้อย่างถูกต้องเมื่อเปิดใช้งาน 1795ms
✓ ควรเรียก onConfirm เมื่อกดปุ่มยืนยันสำเร็จ 554ms
✓ components/response-code/ResponseCodeSelector.test.tsx (2 tests) 1335ms
✓ renders the trigger with placeholder text 1160ms
✓ components/rfas/__tests__/detail.test.tsx (19 tests) 2057ms
✓ should render RFA detail with data 543ms
✓ components/layout/__tests__/global-search.test.tsx (4 tests) 1087ms
✓ ควรแสดง loading spinner เมื่อกำลังโหลด 737ms
✓ components/layout/__tests__/project-switcher.test.tsx (3 tests) 834ms
✓ ควร render skeleton เมื่อกำลังโหลด 782ms
✓ components/ai/__tests__/ai-chat-panel.test.tsx (5 tests) 898ms
✓ ควรเรนเดอร์คอมโพเนนต์อย่างถูกต้อง 485ms
✓ components/workflow/__tests__/workflow-lifecycle.test.tsx (5 tests) 1965ms
✓ renders history steps and opens available attachments 1083ms
✓ uploads and removes pending workflow step attachments 517ms
✓ components/drawings/__tests__/card.test.tsx (19 tests) 1123ms
✓ components/admin/ai/__tests__/sandbox-tabs.test.tsx (2 tests) 1067ms
✓ ควร render 3-step sandbox testing interface 810ms
✓ components/rfas/__tests__/list.test.tsx (11 tests) 1290ms
✓ should render RFA list with data 500ms
✓ components/admin/ai/__tests__/ocr-sandbox-prompt-manager.test.tsx (3 tests) 1032ms
✓ ควร render sandbox tab พร้อม project, contract, engine และ history 571ms
✓ components/layout/__tests__/notifications-dropdown.test.tsx (3 tests) 1253ms
✓ ควร render notification bell icon 1102ms
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร render form สำหรับตั้งค่าบริบทข้อมูล
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร render form สำหรับตั้งค่าบริบทข้อมูล
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร disabled ปุ่มบันทึกเมื่อ isSaving=true
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร disabled ปุ่มบันทึกเมื่อ isSaving=true
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
✓ components/admin/ai/__tests__/context-config-editor.test.tsx (2 tests) 1028ms
✓ ควร render form สำหรับตั้งค่าบริบทข้อมูล 677ms
✓ ควร disabled ปุ่มบันทึกเมื่อ isSaving=true 316ms
✓ components/numbering/__tests__/metrics-dashboard.test.tsx (10 tests) 690ms
✓ components/correspondences/list.test.tsx (4 tests) 709ms
✓ ควรเรนเดอร์รายชื่อเอกสารและหัวตารางได้ถูกต้อง 401ms
✓ hooks/ai/__tests__/use-intent-classification.test.ts (9 tests) 693ms
✓ hooks/__tests__/use-users.test.ts (10 tests) 452ms
✓ hooks/__tests__/use-master-data.test.ts (15 tests) 893ms
✓ components/layout/__tests__/user-menu.test.tsx (3 tests) 782ms
✓ ควร render user menu เมื่อมี user 679ms
✓ hooks/__tests__/use-drawing.test.ts (10 tests) 603ms
✓ hooks/__tests__/use-workflow-action.test.ts (8 tests) 705ms
✓ components/admin/ai/__tests__/prompt-editor.test.tsx (2 tests) 439ms
✓ hooks/__tests__/use-workflow-history.test.ts (8 tests) 566ms
✓ hooks/__tests__/use-workflows.test.ts (9 tests) 371ms
✓ components/circulation/__tests__/circulation-list.test.tsx (9 tests) 546ms
✓ hooks/__tests__/use-rfa.test.ts (10 tests) 408ms
✓ components/correspondences/circulation-status-card.test.tsx (4 tests) 476ms
✓ hooks/__tests__/use-dashboard.test.ts (4 tests) 457ms
✓ hooks/__tests__/use-review-teams.test.ts (11 tests) 793ms
✓ hooks/__tests__/use-ai-chat.test.ts (4 tests) 175ms
✓ hooks/__tests__/use-projects.test.ts (10 tests) 546ms
✓ hooks/__tests__/use-transmittal.test.ts (4 tests) 276ms
✓ components/transmittal/__tests__/transmittal-list.test.tsx (5 tests) 190ms
✓ components/admin/ai/__tests__/version-history.test.tsx (3 tests) 360ms
✓ hooks/__tests__/use-ai-prompts.test.ts (11 tests) 299ms
✓ hooks/__tests__/use-numbering.test.ts (9 tests) 422ms
✓ lib/stores/__tests__/draft-store.test.ts (6 tests) 147ms
✓ components/common/__tests__/status-badge.test.tsx (5 tests) 207ms
✓ components/common/__tests__/error-display.test.tsx (9 tests) 399ms
✓ components/common/__tests__/workflow-error-boundary.test.tsx (3 tests) 137ms
✓ hooks/__tests__/use-correspondence.test.ts (12 tests) 444ms
✓ components/common/__tests__/can.test.tsx (4 tests) 174ms
✓ hooks/__tests__/use-circulation.test.ts (5 tests) 276ms
✓ components/layout/__tests__/theme-toggle.test.tsx (5 tests) 266ms
stderr | components/admin/ai/__tests__/runtime-parameters-panel.test.tsx > RuntimeParametersPanel > ควร render panel พารามิเตอร์เมื่อโหลดสำเร็จ
An update to RuntimeParametersPanel inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RuntimeParametersPanel inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
✓ components/admin/ai/__tests__/runtime-parameters-panel.test.tsx (2 tests) 194ms
✓ components/auth/__tests__/auth-sync.test.tsx (7 tests) 130ms
✓ components/drawings/__tests__/list.test.tsx (9 tests) 258ms
✓ lib/stores/__tests__/ui-store.test.ts (5 tests) 133ms
✓ components/layout/__tests__/dashboard-shell.test.tsx (3 tests) 170ms
✓ hooks/__tests__/use-delegation.test.ts (6 tests) 264ms
✓ lib/stores/__tests__/auth-store.test.ts (6 tests) 173ms
✓ lib/stores/__tests__/project-store.test.ts (4 tests) 87ms
✓ lib/services/__tests__/master-data.service.test.ts (26 tests) 57ms
✓ lib/services/__tests__/shop-drawing.service.test.ts (4 tests) 24ms
✓ lib/services/__tests__/workflow-engine.service.test.ts (23 tests) 59ms
✓ lib/services/__tests__/drawing-master-data.service.test.ts (23 tests) 40ms
✓ lib/api/__tests__/client.test.ts (14 tests) 31ms
✓ lib/services/__tests__/correspondence.service.test.ts (10 tests) 28ms
✓ lib/services/__tests__/user.service.test.ts (7 tests) 30ms
✓ lib/services/__tests__/migration.service.test.ts (9 tests) 29ms
✓ lib/services/__tests__/session.service.test.ts (11 tests) 28ms
✓ lib/services/__tests__/organization.service.test.ts (6 tests) 27ms
✓ lib/services/__tests__/ai.service.test.ts (6 tests) 24ms
✓ lib/services/__tests__/transmittal.service.test.ts (7 tests) 26ms
✓ lib/services/__tests__/dashboard.service.test.ts (7 tests) 30ms
✓ lib/services/__tests__/document-numbering.service.test.ts (7 tests) 25ms
✓ lib/services/__tests__/review-team.service.test.ts (7 tests) 26ms
✓ lib/services/__tests__/circulation.service.test.ts (6 tests) 24ms
✓ lib/services/__tests__/contract-drawing.service.test.ts (5 tests) 22ms
✓ lib/services/__tests__/search.service.test.ts (4 tests) 22ms
✓ lib/services/__tests__/contract.service.test.ts (7 tests) 25ms
✓ lib/services/__tests__/rfa.service.test.ts (7 tests) 26ms
✓ lib/services/__tests__/project.service.test.ts (6 tests) 23ms
✓ lib/services/__tests__/asbuilt-drawing.service.test.ts (4 tests) 21ms
✓ lib/api/__tests__/ai.test.ts (4 tests) 16ms
✓ lib/services/__tests__/audit-log.service.test.ts (2 tests) 20ms
✓ lib/utils/__tests__/uuid-guard.test.ts (8 tests) 21ms
✓ lib/__tests__/auth.test.ts (10 tests) 28ms
✓ lib/i18n/__tests__/index.test.ts (5 tests) 12ms
Test Files 108 passed (108)
Tests 761 passed (761)
Start at 21:24:34
Duration 159.63s (transform 37.26s, setup 66.12s, import 222.37s, tests 169.90s, environment 459.70s)
% Coverage report from v8
-------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|-------------------
All files | 52.55 | 42.12 | 50.83 | 53.22 |
components/admin | 77.23 | 72.34 | 63.46 | 80.73 |
...on-dialog.tsx | 71.42 | 72.22 | 66.66 | 75 | 81-90
sidebar.tsx | 76.59 | 77.77 | 60 | 79.48 | ...47-275,298-321
user-dialog.tsx | 80 | 70.11 | 66.66 | 84 | ...62-283,313-315
...nents/admin/ai | 41.66 | 34.21 | 34.84 | 42.8 |
...figEditor.tsx | 63.82 | 33.33 | 53.84 | 66.66 | ...20-129,153-192
...eSelector.tsx | 96.15 | 95.45 | 100 | 96.15 | 44
...ptManager.tsx | 36.88 | 22.36 | 25 | 38.36 | ...86-673,691-964
PromptEditor.tsx | 69.23 | 63.63 | 66.66 | 70.83 | ...9,57-61,87,121
...eDropdown.tsx | 50 | 100 | 50 | 50 | 31
...onHistory.tsx | 100 | 100 | 100 | 100 |
...tersPanel.tsx | 35.29 | 25.8 | 20 | 36.92 | ...07-115,128-265
SandboxTabs.tsx | 21.62 | 25.31 | 5.88 | 21.62 | ...01-202,227-445
...onHistory.tsx | 62.5 | 83.33 | 40 | 62.5 | 98-118
...dmin/reference | 54.09 | 54.54 | 40.74 | 53.33 |
...rud-table.tsx | 54.09 | 54.54 | 40.74 | 53.33 | ...76,181,259-323
...admin/security | 93.87 | 77.41 | 88.23 | 93.61 |
rbac-matrix.tsx | 93.87 | 77.41 | 88.23 | 93.61 | 46,98,104
components/ai | 23.7 | 17.75 | 25.8 | 25 |
...tusBanner.tsx | 0 | 0 | 0 | 0 | 18-40
...hatWidget.tsx | 0 | 0 | 0 | 0 | 40-286
...hat-input.tsx | 52.94 | 21.42 | 40 | 52.94 | 21-24,28-30,45
...-messages.tsx | 54.38 | 56.66 | 100 | 57.4 | ...80,83-88,91-92
...hat-panel.tsx | 75 | 33.33 | 80 | 72.72 | 32-34
...at-toggle.tsx | 0 | 0 | 0 | 0 | 16
...nner-host.tsx | 0 | 0 | 0 | 0 | 13-23
...on-button.tsx | 100 | 100 | 100 | 100 |
...ion-field.tsx | 0 | 0 | 0 | 0 | 14-147
...ison-view.tsx | 0 | 0 | 0 | 0 | 12-133
...indicator.tsx | 0 | 100 | 0 | 0 | 8
...classification | 0 | 0 | 0 | 0 |
...sult-card.tsx | 0 | 0 | 0 | 0 | 17-42
intent-form.tsx | 0 | 0 | 0 | 0 | 54-123
pattern-form.tsx | 0 | 0 | 0 | 0 | 55-164
...ole-panel.tsx | 0 | 0 | 0 | 0 | 20-89
...tion/analytics | 0 | 0 | 0 | 0 |
...ary-cards.tsx | 0 | 0 | 0 | 0 | 19-49
...own-table.tsx | 0 | 0 | 0 | 0 | 26-46
...own-table.tsx | 0 | 0 | 0 | 0 | 24-61
...ion-panel.tsx | 0 | 0 | 0 | 0 | 28-61
components/auth | 100 | 92.85 | 100 | 100 |
auth-sync.tsx | 100 | 92.85 | 100 | 100 | 43-45
...ts/circulation | 100 | 95.45 | 100 | 100 |
...tion-list.tsx | 100 | 95.45 | 100 | 100 | 120
components/common | 91.11 | 88.88 | 96.96 | 92 |
can.tsx | 100 | 100 | 100 | 100 |
...rm-dialog.tsx | 100 | 100 | 100 | 100 |
data-table.tsx | 100 | 66.66 | 100 | 100 | 41,50
...r-display.tsx | 93.33 | 93.61 | 100 | 92.85 | 69,94
...iew-modal.tsx | 87.8 | 84.61 | 88.88 | 90.9 | 35,76,92
pagination.tsx | 100 | 100 | 100 | 100 |
status-badge.tsx | 78.26 | 77.77 | 100 | 78.26 | 37-38,48-50
...-boundary.tsx | 100 | 100 | 100 | 100 |
...orrespondences | 48.69 | 43.65 | 50.37 | 49.87 |
...atus-card.tsx | 100 | 83.33 | 100 | 100 | 30-32,51-52,94
...s-content.tsx | 0 | 0 | 0 | 0 | 17-212
detail.tsx | 80.64 | 67.74 | 77.27 | 88.67 | ...93,151,195,238
form.tsx | 55.55 | 43.08 | 53.33 | 56.2 | ...43,564,593-729
list.tsx | 92.85 | 67.74 | 100 | 96.29 | 112
...-selector.tsx | 0 | 0 | 0 | 0 | 38-203
...n-history.tsx | 0 | 0 | 0 | 0 | 13-56
tag-manager.tsx | 92.85 | 88.46 | 84.61 | 91.66 | 24,131
...ow-dialog.tsx | 0 | 0 | 0 | 0 | 15-198
components/custom | 1.35 | 0 | 0 | 1.4 |
...load-zone.tsx | 2 | 0 | 0 | 2.12 | 35-187
...isualizer.tsx | 0 | 0 | 0 | 0 | 30-68
...ents/dashboard | 0 | 0 | 0 | 0 |
...ing-tasks.tsx | 0 | 0 | 0 | 0 | 15-55
...k-actions.tsx | 0 | 100 | 0 | 0 | 8
...-activity.tsx | 0 | 0 | 0 | 0 | 16-51
stats-cards.tsx | 0 | 0 | 0 | 0 | 13-58
...nts/delegation | 0 | 0 | 0 | 0 |
...ationForm.tsx | 0 | 0 | 0 | 0 | 29-162
...s/distribution | 0 | 0 | 0 | 0 |
...ionStatus.tsx | 0 | 0 | 0 | 0 | 30-54
...cuments/common | 0 | 0 | 0 | 0 |
...ata-table.tsx | 0 | 0 | 0 | 0 | 39-161
...nents/drawings | 12.26 | 25.87 | 6.06 | 13.13 |
card.tsx | 100 | 96.15 | 100 | 100 | 73
columns.tsx | 10 | 0 | 0 | 10 | 21-66
list.tsx | 100 | 100 | 100 | 100 |
...n-history.tsx | 0 | 0 | 0 | 0 | 11-17
upload-form.tsx | 0 | 0 | 0 | 0 | 29-435
components/layout | 93.83 | 86.3 | 93.75 | 93.52 |
...ard-shell.tsx | 100 | 100 | 100 | 100 |
...al-search.tsx | 86.48 | 67.85 | 92.85 | 85.71 | 24,44,62-66
header.tsx | 100 | 100 | 100 | 100 |
navbar.tsx | 100 | 100 | 100 | 100 |
...-dropdown.tsx | 100 | 78.94 | 100 | 100 | 24,28-31,67
...-switcher.tsx | 100 | 100 | 100 | 100 |
sidebar.tsx | 90.9 | 96.66 | 77.77 | 90 | 152,224,236,250
theme-toggle.tsx | 100 | 100 | 100 | 100 |
user-menu.tsx | 100 | 75 | 100 | 100 | 34
user-nav.tsx | 100 | 60 | 100 | 100 | 26-38
...ents/migration | 0 | 0 | 0 | 0 |
...eue-table.tsx | 0 | 0 | 0 | 0 | 58-479
...ents/numbering | 29.94 | 19.69 | 31.57 | 29.94 |
...ogs-table.tsx | 0 | 0 | 0 | 0 | 10-52
...port-form.tsx | 0 | 0 | 0 | 0 | 11-38
...mber-form.tsx | 0 | 0 | 0 | 0 | 14-72
...ride-form.tsx | 100 | 80 | 100 | 100 | 45
...dashboard.tsx | 100 | 100 | 100 | 100 |
...ce-viewer.tsx | 100 | 93.33 | 100 | 100 | 21
...te-editor.tsx | 0 | 0 | 0 | 0 | 16-181
...te-tester.tsx | 0 | 0 | 0 | 0 | 36-182
...lace-form.tsx | 0 | 0 | 0 | 0 | 15-91
...nents/reminder | 0 | 0 | 0 | 0 |
...erHistory.tsx | 0 | 0 | 0 | 0 | 21-55
...rRuleForm.tsx | 0 | 0 | 0 | 0 | 15-129
.../response-code | 26.41 | 17.33 | 20.83 | 26.53 |
...lications.tsx | 0 | 0 | 0 | 0 | 14-72
MatrixEditor.tsx | 0 | 0 | 0 | 0 | 44-134
...deManager.tsx | 0 | 0 | 0 | 0 | 53-137
...eSelector.tsx | 100 | 72.22 | 100 | 100 | 40,74-89
...ts/review-task | 0 | 0 | 0 | 0 |
...eviewForm.tsx | 0 | 0 | 0 | 0 | 24-88
...atedBadge.tsx | 0 | 0 | 0 | 0 | 22-26
...lProgress.tsx | 0 | 0 | 0 | 0 | 27-64
...TaskInbox.tsx | 0 | 0 | 0 | 0 | 43-159
...ideDialog.tsx | 0 | 0 | 0 | 0 | 25-87
...ts/review-team | 0 | 0 | 0 | 0 |
...wTeamForm.tsx | 0 | 0 | 0 | 0 | 22-136
...mSelector.tsx | 0 | 0 | 0 | 0 | 17-67
...erManager.tsx | 0 | 0 | 0 | 0 | 45-172
components/rfas | 57.14 | 55.08 | 43.58 | 57.56 |
detail.tsx | 58.13 | 64.28 | 62.5 | 58.53 | ...,82-92,189-194
form.tsx | 55.08 | 50.23 | 30.18 | 55.68 | ...84,496,514-778
list.tsx | 72.72 | 70.83 | 88.88 | 71.42 | 78-89
components/search | 66.66 | 58.33 | 46.15 | 75 |
filters.tsx | 45 | 37.5 | 30 | 52.94 | 33-35,39-41,63,81
results.tsx | 93.75 | 75 | 100 | 100 | 39,63-70
...ts/transmittal | 72.72 | 55.76 | 72.22 | 74.19 |
...ttal-form.tsx | 93.61 | 75 | 89.28 | 93.47 | 100,317,405
...ttal-list.tsx | 21.05 | 12.5 | 12.5 | 18.75 | 24-67
components/ui | 90.84 | 79.06 | 80 | 90.84 |
alert-dialog.tsx | 100 | 100 | 100 | 100 |
alert.tsx | 90 | 100 | 66.66 | 90 | 31
avatar.tsx | 100 | 100 | 100 | 100 |
badge.tsx | 100 | 100 | 100 | 100 |
button.tsx | 100 | 100 | 100 | 100 |
calendar.tsx | 0 | 0 | 0 | 0 | 13-54
card.tsx | 100 | 100 | 100 | 100 |
checkbox.tsx | 100 | 100 | 100 | 100 |
command.tsx | 91.66 | 100 | 75 | 91.66 | 83,104
dialog.tsx | 100 | 100 | 100 | 100 |
...down-menu.tsx | 92.3 | 42.85 | 71.42 | 92.3 | 79,98
form.tsx | 97.29 | 90 | 100 | 97.29 | 43
hover-card.tsx | 100 | 100 | 100 | 100 |
input.tsx | 100 | 100 | 100 | 100 |
label.tsx | 100 | 100 | 100 | 100 |
popover.tsx | 100 | 100 | 100 | 100 |
progress.tsx | 100 | 100 | 100 | 100 |
scroll-area.tsx | 100 | 80 | 100 | 100 | 30
select.tsx | 95.83 | 100 | 85.71 | 95.83 | 128
separator.tsx | 100 | 75 | 100 | 100 | 16
sheet.tsx | 86.95 | 100 | 50 | 86.95 | 73,78,94
skeleton.tsx | 100 | 100 | 100 | 100 |
sonner.tsx | 0 | 0 | 0 | 0 | 9-11
switch.tsx | 100 | 100 | 100 | 100 |
table.tsx | 91.66 | 100 | 75 | 91.66 | 28,67
tabs.tsx | 0 | 100 | 0 | 0 | 8-53
textarea.tsx | 100 | 100 | 100 | 100 |
...nents/workflow | 83.63 | 81.48 | 78.57 | 88.54 |
...ed-banner.tsx | 86.36 | 74.54 | 90 | 94.59 | 45,135
...lifecycle.tsx | 81.81 | 88.67 | 72.22 | 84.74 | 57,60,63,255-261
...ents/workflows | 15.38 | 15.32 | 12.12 | 16 |
dsl-editor.tsx | 63.15 | 61.76 | 50 | 64.86 | 41-46,51,79-88
...l-builder.tsx | 0 | 0 | 0 | 0 | 70-406
hooks | 64.06 | 43.05 | 62.76 | 64.15 |
use-ai-chat.ts | 84.21 | 50 | 75 | 88.88 | 18-21,85
...ai-prompts.ts | 100 | 75 | 100 | 100 | 107,117-175
use-ai-status.ts | 18.18 | 7.14 | 9.09 | 21.42 | 17-25,41-82
...audit-logs.ts | 0 | 100 | 0 | 0 | 5-13
...irculation.ts | 44.44 | 0 | 50 | 44.44 | 7,16-26
...espondence.ts | 51.28 | 10 | 49.05 | 51.28 | 81,98-117,136-224
use-dashboard.ts | 100 | 100 | 100 | 100 |
...delegation.ts | 100 | 100 | 100 | 100 |
...n-matrices.ts | 0 | 0 | 0 | 0 | 47-98
use-drawing.ts | 63.15 | 54.16 | 62.5 | 62.96 | ...05,124,141-179
...aster-data.ts | 100 | 61.53 | 100 | 100 | 39-72,98-99
...ion-review.ts | 0 | 0 | 0 | 0 | 20-101
...tification.ts | 0 | 100 | 0 | 0 | 5-28
use-numbering.ts | 100 | 100 | 100 | 100 |
use-projects.ts | 100 | 100 | 100 | 100 |
...rence-data.ts | 0 | 0 | 0 | 0 | 10-118
use-reminder.ts | 0 | 100 | 0 | 0 | 45-126
...onse-codes.ts | 0 | 0 | 0 | 0 | 6-41
...view-teams.ts | 100 | 50 | 100 | 100 | 27
use-rfa.ts | 78.37 | 100 | 80 | 78.37 | 41-52,87
use-search.ts | 0 | 0 | 0 | 0 | 5-23
...anslations.ts | 0 | 100 | 0 | 0 | 9-12
...ransmittal.ts | 100 | 100 | 100 | 100 |
use-users.ts | 100 | 100 | 100 | 100 |
...low-action.ts | 90.47 | 74.19 | 100 | 90.24 | 77-80,97,107
...ow-history.ts | 100 | 100 | 100 | 100 |
use-workflows.ts | 100 | 100 | 100 | 100 |
hooks/ai | 44.11 | 100 | 48.14 | 44.11 |
...sification.ts | 44.11 | 100 | 48.14 | 44.11 | 72-122
lib | 32 | 28.57 | 46.15 | 31.94 |
auth.ts | 27.94 | 28.57 | 33.33 | 27.69 | 67,75-113,134-232
test-utils.tsx | 66.66 | 100 | 66.66 | 66.66 | 33-34
utils.ts | 100 | 100 | 100 | 100 |
lib/api | 35.63 | 31.25 | 20.83 | 36.56 |
admin.ts | 100 | 50 | 100 | 100 | 76-104
ai.ts | 32.65 | 38.88 | 8.69 | 30.43 | ...13-175,200-222
client.ts | 81.35 | 72.54 | 62.5 | 82.45 | 70-87,177
dashboard.ts | 0 | 100 | 0 | 0 | 8-53
drawings.ts | 0 | 100 | 0 | 0 | 4-41
files.ts | 14.28 | 100 | 0 | 16.66 | 15-24
notifications.ts | 0 | 0 | 0 | 0 | 4-49
numbering.ts | 0 | 0 | 0 | 0 | 124-343
workflows.ts | 0 | 0 | 0 | 0 | 4-86
lib/i18n | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
lib/services | 70.06 | 65.93 | 70.19 | 69.3 |
...ai.service.ts | 6.38 | 0 | 2.77 | 6.38 | ...84-191,209-459
...nt.service.ts | 0 | 0 | 0 | 0 | 9-229
...ts.service.ts | 0 | 0 | 0 | 0 | 9-76
ai.service.ts | 100 | 100 | 100 | 100 |
...ng.service.ts | 100 | 100 | 100 | 100 |
...og.service.ts | 100 | 100 | 100 | 100 |
...on.service.ts | 100 | 100 | 100 | 100 |
...ng.service.ts | 100 | 100 | 100 | 100 |
...ct.service.ts | 100 | 100 | 100 | 100 |
...ce.service.ts | 61.29 | 100 | 60 | 61.29 | ...2,67-68,90-115
...rd.service.ts | 100 | 89.13 | 100 | 100 | 68,80-82
...ng.service.ts | 100 | 100 | 100 | 100 |
...ta.service.ts | 100 | 82.35 | 100 | 100 | 117-149
index.ts | 0 | 0 | 0 | 0 |
...ma.service.ts | 0 | 100 | 0 | 0 | 5-69
...ta.service.ts | 84.5 | 71.42 | 88.23 | 82.81 | ...46-147,226-241
...on.service.ts | 88.23 | 59.45 | 100 | 87.87 | 29,67-77
...ng.service.ts | 0 | 100 | 0 | 0 | 9-25
...on.service.ts | 0 | 100 | 0 | 0 | 4-19
...on.service.ts | 100 | 100 | 100 | 100 |
...ct.service.ts | 100 | 100 | 100 | 100 |
...am.service.ts | 100 | 100 | 100 | 100 |
rfa.service.ts | 100 | 100 | 100 | 100 |
...ch.service.ts | 100 | 100 | 100 | 100 |
...on.service.ts | 94.11 | 81.81 | 100 | 93.33 | 32
...ng.service.ts | 100 | 100 | 100 | 100 |
...al.service.ts | 100 | 100 | 100 | 100 |
user.service.ts | 96.15 | 80 | 100 | 96 | 27
...ne.service.ts | 96.72 | 66.17 | 100 | 96.49 | 51,62
lib/stores | 100 | 100 | 100 | 100 |
auth-store.ts | 100 | 100 | 100 | 100 |
draft-store.ts | 100 | 100 | 100 | 100 |
project-store.ts | 100 | 100 | 100 | 100 |
ui-store.ts | 100 | 100 | 100 | 100 |
lib/utils | 100 | 100 | 100 | 100 |
uuid-guard.ts | 100 | 100 | 100 | 100 |
-------------------|---------|----------|---------|---------|-------------------
Running mixed versions is not supported and may lead into bugs
Update your dependencies and make sure the versions match.
RUN v4.1.8 E:/np-dms/lcbp3/frontend
Coverage enabled with v8
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > creates a user with required fields and selected role
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/admin/reference/__tests__/generic-crud-table.test.tsx > GenericCrudTable > creates a new item from dialog form
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/admin/reference/__tests__/generic-crud-table.test.tsx > GenericCrudTable > creates a new item from dialog form
Checkbox is changing from controlled to uncontrolled. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
✓ components/admin/__tests__/organization-dialog.test.tsx (8 tests) 3073ms
✓ ควรเรนเดอร์ Dialog เมื่อ open เป็น true 523ms
✓ ควรแสดงปุ่ม Cancel และ Create Organization สำหรับ New 902ms
✓ ควรแสดงปุ่ม Save Changes สำหรับ Edit 309ms
✓ ควรเรียก onOpenChange(false) เมื่อคลิก Cancel 323ms
✓ ควรแสดง validation error เมื่อ submit form ว่างเปล่า 380ms
✓ components/admin/reference/__tests__/generic-crud-table.test.tsx (3 tests) 3343ms
✓ renders data rows returned by fetchFn 493ms
✓ creates a new item from dialog form 2652ms
✓ components/workflow/__tests__/integrated-banner.test.tsx (3 tests) 3730ms
✓ renders metadata, priority, workflow state, and legacy actions 1170ms
✓ requires comment for reject action 2378ms
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
✓ components/layout/__tests__/user-nav.test.tsx (5 tests) 4180ms
✓ ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount) 1370ms
✓ ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile 906ms
✓ ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings 829ms
✓ ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out 762ms
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > pre-fills existing user and submits update without empty password
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > closes when cancel is clicked
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/admin/__tests__/user-dialog.test.tsx (3 tests) 9233ms
✓ creates a user with required fields and selected role 6406ms
✓ pre-fills existing user and submits update without empty password 2302ms
✓ closes when cancel is clicked 514ms
✓ components/rfas/__tests__/form.test.tsx (27 tests) 10824ms
✓ should render form with all required fields 891ms
✓ should render optional fields 547ms
✓ should render submit button 413ms
✓ should show validation error for empty project 566ms
✓ should show validation error for empty contract 592ms
✓ should show validation error for empty discipline 581ms
✓ should show validation error for empty type 359ms
✓ should show validation error for short subject 656ms
✓ should show validation error for empty to organization 489ms
✓ should allow subject input 488ms
✓ should allow body input 402ms
✓ should allow remarks input 437ms
✓ should render shop drawing section 386ms
✓ should render as-built drawing section 374ms
✓ should show search input for shop drawings 317ms
✓ should show search input for as-built drawings 450ms
✓ should show preview section when form is valid 800ms
✓ should display preview number 775ms
✓ should call create mutation on valid submit 370ms
✓ should show loading state during submission 325ms
✓ components/transmittal/__tests__/transmittal-form.test.tsx (3 tests) 15486ms
✓ renders main sections and supports cancel navigation 2737ms
✓ shows validation errors when required fields are missing 1994ms
✓ submits cleaned transmittal payload and navigates to created record 10741ms
✓ lib/api/__tests__/admin.test.ts (10 tests) 5792ms
✓ ควร return array of users 526ms
✓ ควร return users ที่มี publicId, username, email 524ms
✓ ควร create user ใหม่และ return user object 814ms
✓ ควร assign userId ใหม่ให้ user 814ms
✓ ควร return array of organizations 511ms
✓ ควร return organizations ที่มี publicId, orgCode, orgName 513ms
✓ ควร create organization ใหม่และ return org object 603ms
✓ ควร assign orgId ใหม่ให้ organization 609ms
✓ ควร return array of audit logs 427ms
✓ ควร return logs ที่มี publicId, userName, action 407ms
stderr | components/admin/__tests__/sidebar.test.tsx > AdminMobileSidebar > opens mobile navigation from trigger button
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/admin/__tests__/sidebar.test.tsx (3 tests) 4226ms
✓ auto-expands the active menu and renders child links 1999ms
✓ toggles a collapsed menu on click 1334ms
✓ opens mobile navigation from trigger button 874ms
✓ components/correspondences/form.test.tsx (2 tests) 6172ms
✓ keeps edit prefilled values after mount (no reset on initial render) 4307ms
✓ keeps dependent fields intact after async effects (reset guard) 1856ms
✓ components/correspondences/detail.test.tsx (7 tests) 5536ms
✓ ควรเรนเดอร์รายละเอียดเอกสารและข้อมูลพื้นฐานได้ถูกต้อง 863ms
✓ ควรแสดงปุ่มและส่งคำขอเมื่อกด Submit for Review ในกรณีที่เป็น DRAFT 1845ms
✓ ควรแสดงข้อความเตือนภัยและซ่อนปุ่มการกระทำบางอย่างหากเอกสารถูกยกเลิก 514ms
✓ ควรแสดงปุ่ม Approve และ Reject ในกรณีที่เอกสารเป็น IN_REVIEW 391ms
✓ ควรเปิดการกดยืนยันการอนุมัติและส่งความคิดเห็นได้ถูกต้อง 590ms
✓ ควรเปิดส่วนยกเลิกเอกสารและส่งเหตุผลการยกเลิกได้ถูกต้อง 1127ms
✓ components/common/__tests__/file-preview-modal.test.tsx (6 tests) 5419ms
✓ renders iframe for PDF MIME type 2644ms
✓ renders img for image MIME type 666ms
✓ shows download link for unsupported MIME type (no iframe or img) 666ms
✓ calls onClose when close button is clicked 1008ms
✓ calls onUnavailable when API returns 404 418ms
✓ components/admin/security/__tests__/rbac-matrix.test.tsx (3 tests) 4363ms
✓ renders roles and permissions from API data 2235ms
✓ saves pending permission changes 1917ms
✓ components/numbering/__tests__/manual-override-form.test.tsx (12 tests) 4516ms
✓ should render form with all required fields 647ms
✓ should render with default projectId from props 402ms
✓ should show validation error for empty project 520ms
✓ should show validation error for empty originator 367ms
✓ should submit form with valid data 523ms
✓ should show error toast on submission failure 484ms
✓ should disable submit button while loading 382ms
✓ should reset form after successful submission 350ms
✓ components/correspondences/tag-manager.test.tsx (5 tests) 2694ms
✓ ควรเรียก remove mutation เมื่อคลิกปุ่มลบ tag และมีสิทธิ์แก้ไข 1532ms
✓ ควรเปิดส่วนเลือก tag และแสดง tag ที่พร้อมให้เพิ่มเมื่อคลิก Add Tag 667ms
✓ components/common/__tests__/pagination.test.tsx (6 tests) 3627ms
✓ ควรเรนเดอร์ข้อมูลหน้าปัจจุบัน หน้าทั้งหมด และรายการทั้งหมดสำเร็จ 1951ms
✓ ควร disable ปุ่ม Previous เมื่ออยู่หน้าแรก 354ms
✓ ควร disable ปุ่ม Next เมื่ออยู่หน้าสุดท้าย 354ms
✓ ควรเปลี่ยนหน้าเมื่อคลิกปุ่ม Next 370ms
✓ ควรเปลี่ยนหน้าเมื่อคลิกหมายเลขหน้าโดยตรง 329ms
✓ components/search/__tests__/filters.test.tsx (7 tests) 4864ms
✓ ควร render filters card 492ms
✓ ควรแสดง Document Type checkboxes 542ms
✓ ควรแสดง Status checkboxes 523ms
✓ ควรแสดง active count badge เมื่อมี filters 2162ms
✓ ควรแสดง Clear all filters button เมื่อมี active filters 703ms
✓ components/workflows/__tests__/dsl-editor.test.tsx (5 tests) 3884ms
✓ calls workflowApi.validateDSL when Validate button is clicked 2326ms
✓ calls onValidationChange(true) when validation returns errors 416ms
✓ calls onValidationChange(false) when validation returns valid 475ms
✓ calls onValidationChange(true) on server error 409ms
✓ components/admin/ai/__tests__/prompt-version-history.test.tsx (2 tests) 3074ms
✓ renders loading and empty states 617ms
✓ renders versions and triggers version actions 2427ms
✓ components/layout/__tests__/navbar.test.tsx (5 tests) 4531ms
✓ ควรเรนเดอร์ header ได้ถูกต้อง 3224ms
✓ ควรเรียก toggleSidebar เมื่อคลิกปุ่ม menu 726ms
stderr | components/layout/__tests__/layout-widgets.test.tsx > layout widgets > ProjectSwitcher ควรเลือก project และ global ได้
In HTML, <div> cannot be a child of <select>.
This will cause a hydration error.
<ProjectSwitcher>
<Select value="global" onValueChange={function onValueChange}>
> <select data-testid="project-select" value="global" onChange={function onChange}>
<SelectTrigger className="w-[200px] ...">
> <div className="flex items-center gap-2 truncate">
...
<select> cannot contain a nested <div>.
See this log for the ancestor stack trace.
✓ components/layout/__tests__/layout-widgets.test.tsx (8 tests) 7030ms
✓ Sidebar ควรแสดงเมนู admin และ collapse label ได้ 3877ms
✓ MobileSidebar ควร render navigation และซ่อน admin เมื่อ role ไม่ใช่ admin 553ms
✓ GlobalSearch ควร submit query และเปิด suggestion route ได้ 1832ms
✓ components/layout/__tests__/header.test.tsx (1 test) 2606ms
✓ renders application title and composed controls 2597ms
✓ components/ai/__tests__/ai-suggestion-button.test.tsx (2 tests) 2378ms
✓ ควร disable และแสดงข้อความ fallback เมื่อ AI ถูกปิด 2081ms
✓ components/admin/ai/__tests__/ocr-engine-selector.test.tsx (3 tests) 4121ms
✓ renders OCR engine data from admin service 686ms
✓ selects a non-active OCR engine and refreshes list 3227ms
✓ components/admin/ai/__tests__/prompt-type-dropdown.test.tsx (2 tests) 3288ms
✓ ควร render dropdown สำหรับเลือกประเภทพรอมต์ 2953ms
✓ ควร disabled dropdown เมื่อ disabled=true 325ms
✓ components/search/__tests__/results.test.tsx (8 tests) 1917ms
✓ ควร render loading state เมื่อ loading=true 1337ms
✓ components/ui/__tests__/button.test.tsx (17 tests) 3590ms
✓ should render with default variant and size 981ms
✓ should render destructive variant 326ms
✓ should render outline variant 419ms
✓ components/numbering/__tests__/sequence-viewer.test.tsx (13 tests) 1698ms
✓ should render loading state initially 384ms
✓ components/layout/__tests__/sidebar.test.tsx (4 tests) 1322ms
✓ ควร render mobile sidebar พร้อม navigation items 714ms
✓ components/common/__tests__/confirm-dialog.test.tsx (2 tests) 2357ms
✓ ควรเรนเดอร์เนื้อหาและปุ่มต่างๆ ได้อย่างถูกต้องเมื่อเปิดใช้งาน 1795ms
✓ ควรเรียก onConfirm เมื่อกดปุ่มยืนยันสำเร็จ 554ms
✓ components/response-code/ResponseCodeSelector.test.tsx (2 tests) 1335ms
✓ renders the trigger with placeholder text 1160ms
✓ components/rfas/__tests__/detail.test.tsx (19 tests) 2057ms
✓ should render RFA detail with data 543ms
✓ components/layout/__tests__/global-search.test.tsx (4 tests) 1087ms
✓ ควรแสดง loading spinner เมื่อกำลังโหลด 737ms
✓ components/layout/__tests__/project-switcher.test.tsx (3 tests) 834ms
✓ ควร render skeleton เมื่อกำลังโหลด 782ms
✓ components/ai/__tests__/ai-chat-panel.test.tsx (5 tests) 898ms
✓ ควรเรนเดอร์คอมโพเนนต์อย่างถูกต้อง 485ms
✓ components/workflow/__tests__/workflow-lifecycle.test.tsx (5 tests) 1965ms
✓ renders history steps and opens available attachments 1083ms
✓ uploads and removes pending workflow step attachments 517ms
✓ components/drawings/__tests__/card.test.tsx (19 tests) 1123ms
✓ components/admin/ai/__tests__/sandbox-tabs.test.tsx (2 tests) 1067ms
✓ ควร render 3-step sandbox testing interface 810ms
✓ components/rfas/__tests__/list.test.tsx (11 tests) 1290ms
✓ should render RFA list with data 500ms
✓ components/admin/ai/__tests__/ocr-sandbox-prompt-manager.test.tsx (3 tests) 1032ms
✓ ควร render sandbox tab พร้อม project, contract, engine และ history 571ms
✓ components/layout/__tests__/notifications-dropdown.test.tsx (3 tests) 1253ms
✓ ควร render notification bell icon 1102ms
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร render form สำหรับตั้งค่าบริบทข้อมูล
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร render form สำหรับตั้งค่าบริบทข้อมูล
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร disabled ปุ่มบันทึกเมื่อ isSaving=true
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร disabled ปุ่มบันทึกเมื่อ isSaving=true
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
✓ components/admin/ai/__tests__/context-config-editor.test.tsx (2 tests) 1028ms
✓ ควร render form สำหรับตั้งค่าบริบทข้อมูล 677ms
✓ ควร disabled ปุ่มบันทึกเมื่อ isSaving=true 316ms
✓ components/numbering/__tests__/metrics-dashboard.test.tsx (10 tests) 690ms
✓ components/correspondences/list.test.tsx (4 tests) 709ms
✓ ควรเรนเดอร์รายชื่อเอกสารและหัวตารางได้ถูกต้อง 401ms
✓ hooks/ai/__tests__/use-intent-classification.test.ts (9 tests) 693ms
✓ hooks/__tests__/use-users.test.ts (10 tests) 452ms
✓ hooks/__tests__/use-master-data.test.ts (15 tests) 893ms
✓ components/layout/__tests__/user-menu.test.tsx (3 tests) 782ms
✓ ควร render user menu เมื่อมี user 679ms
✓ hooks/__tests__/use-drawing.test.ts (10 tests) 603ms
✓ hooks/__tests__/use-workflow-action.test.ts (8 tests) 705ms
✓ components/admin/ai/__tests__/prompt-editor.test.tsx (2 tests) 439ms
✓ hooks/__tests__/use-workflow-history.test.ts (8 tests) 566ms
✓ hooks/__tests__/use-workflows.test.ts (9 tests) 371ms
✓ components/circulation/__tests__/circulation-list.test.tsx (9 tests) 546ms
✓ hooks/__tests__/use-rfa.test.ts (10 tests) 408ms
✓ components/correspondences/circulation-status-card.test.tsx (4 tests) 476ms
✓ hooks/__tests__/use-dashboard.test.ts (4 tests) 457ms
✓ hooks/__tests__/use-review-teams.test.ts (11 tests) 793ms
✓ hooks/__tests__/use-ai-chat.test.ts (4 tests) 175ms
✓ hooks/__tests__/use-projects.test.ts (10 tests) 546ms
✓ hooks/__tests__/use-transmittal.test.ts (4 tests) 276ms
✓ components/transmittal/__tests__/transmittal-list.test.tsx (5 tests) 190ms
✓ components/admin/ai/__tests__/version-history.test.tsx (3 tests) 360ms
✓ hooks/__tests__/use-ai-prompts.test.ts (11 tests) 299ms
✓ hooks/__tests__/use-numbering.test.ts (9 tests) 422ms
✓ lib/stores/__tests__/draft-store.test.ts (6 tests) 147ms
✓ components/common/__tests__/status-badge.test.tsx (5 tests) 207ms
✓ components/common/__tests__/error-display.test.tsx (9 tests) 399ms
✓ components/common/__tests__/workflow-error-boundary.test.tsx (3 tests) 137ms
✓ hooks/__tests__/use-correspondence.test.ts (12 tests) 444ms
✓ components/common/__tests__/can.test.tsx (4 tests) 174ms
✓ hooks/__tests__/use-circulation.test.ts (5 tests) 276ms
✓ components/layout/__tests__/theme-toggle.test.tsx (5 tests) 266ms
stderr | components/admin/ai/__tests__/runtime-parameters-panel.test.tsx > RuntimeParametersPanel > ควร render panel พารามิเตอร์เมื่อโหลดสำเร็จ
An update to RuntimeParametersPanel inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RuntimeParametersPanel inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
✓ components/admin/ai/__tests__/runtime-parameters-panel.test.tsx (2 tests) 194ms
✓ components/auth/__tests__/auth-sync.test.tsx (7 tests) 130ms
✓ components/drawings/__tests__/list.test.tsx (9 tests) 258ms
✓ lib/stores/__tests__/ui-store.test.ts (5 tests) 133ms
✓ components/layout/__tests__/dashboard-shell.test.tsx (3 tests) 170ms
✓ hooks/__tests__/use-delegation.test.ts (6 tests) 264ms
✓ lib/stores/__tests__/auth-store.test.ts (6 tests) 173ms
✓ lib/stores/__tests__/project-store.test.ts (4 tests) 87ms
✓ lib/services/__tests__/master-data.service.test.ts (26 tests) 57ms
✓ lib/services/__tests__/shop-drawing.service.test.ts (4 tests) 24ms
✓ lib/services/__tests__/workflow-engine.service.test.ts (23 tests) 59ms
✓ lib/services/__tests__/drawing-master-data.service.test.ts (23 tests) 40ms
✓ lib/api/__tests__/client.test.ts (14 tests) 31ms
✓ lib/services/__tests__/correspondence.service.test.ts (10 tests) 28ms
✓ lib/services/__tests__/user.service.test.ts (7 tests) 30ms
✓ lib/services/__tests__/migration.service.test.ts (9 tests) 29ms
✓ lib/services/__tests__/session.service.test.ts (11 tests) 28ms
✓ lib/services/__tests__/organization.service.test.ts (6 tests) 27ms
✓ lib/services/__tests__/ai.service.test.ts (6 tests) 24ms
✓ lib/services/__tests__/transmittal.service.test.ts (7 tests) 26ms
✓ lib/services/__tests__/dashboard.service.test.ts (7 tests) 30ms
✓ lib/services/__tests__/document-numbering.service.test.ts (7 tests) 25ms
✓ lib/services/__tests__/review-team.service.test.ts (7 tests) 26ms
✓ lib/services/__tests__/circulation.service.test.ts (6 tests) 24ms
✓ lib/services/__tests__/contract-drawing.service.test.ts (5 tests) 22ms
✓ lib/services/__tests__/search.service.test.ts (4 tests) 22ms
✓ lib/services/__tests__/contract.service.test.ts (7 tests) 25ms
✓ lib/services/__tests__/rfa.service.test.ts (7 tests) 26ms
✓ lib/services/__tests__/project.service.test.ts (6 tests) 23ms
✓ lib/services/__tests__/asbuilt-drawing.service.test.ts (4 tests) 21ms
✓ lib/api/__tests__/ai.test.ts (4 tests) 16ms
✓ lib/services/__tests__/audit-log.service.test.ts (2 tests) 20ms
✓ lib/utils/__tests__/uuid-guard.test.ts (8 tests) 21ms
✓ lib/__tests__/auth.test.ts (10 tests) 28ms
✓ lib/i18n/__tests__/index.test.ts (5 tests) 12ms
Test Files 108 passed (108)
Tests 761 passed (761)
Start at 21:24:34
Duration 159.63s (transform 37.26s, setup 66.12s, import 222.37s, tests 169.90s, environment 459.70s)
% Coverage report from v8
-------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|-------------------
All files | 52.55 | 42.12 | 50.83 | 53.22 |
components/admin | 77.23 | 72.34 | 63.46 | 80.73 |
...on-dialog.tsx | 71.42 | 72.22 | 66.66 | 75 | 81-90
sidebar.tsx | 76.59 | 77.77 | 60 | 79.48 | ...47-275,298-321
user-dialog.tsx | 80 | 70.11 | 66.66 | 84 | ...62-283,313-315
...nents/admin/ai | 41.66 | 34.21 | 34.84 | 42.8 |
...figEditor.tsx | 63.82 | 33.33 | 53.84 | 66.66 | ...20-129,153-192
...eSelector.tsx | 96.15 | 95.45 | 100 | 96.15 | 44
...ptManager.tsx | 36.88 | 22.36 | 25 | 38.36 | ...86-673,691-964
PromptEditor.tsx | 69.23 | 63.63 | 66.66 | 70.83 | ...9,57-61,87,121
...eDropdown.tsx | 50 | 100 | 50 | 50 | 31
...onHistory.tsx | 100 | 100 | 100 | 100 |
...tersPanel.tsx | 35.29 | 25.8 | 20 | 36.92 | ...07-115,128-265
SandboxTabs.tsx | 21.62 | 25.31 | 5.88 | 21.62 | ...01-202,227-445
...onHistory.tsx | 62.5 | 83.33 | 40 | 62.5 | 98-118
...dmin/reference | 54.09 | 54.54 | 40.74 | 53.33 |
...rud-table.tsx | 54.09 | 54.54 | 40.74 | 53.33 | ...76,181,259-323
...admin/security | 93.87 | 77.41 | 88.23 | 93.61 |
rbac-matrix.tsx | 93.87 | 77.41 | 88.23 | 93.61 | 46,98,104
components/ai | 23.7 | 17.75 | 25.8 | 25 |
...tusBanner.tsx | 0 | 0 | 0 | 0 | 18-40
...hatWidget.tsx | 0 | 0 | 0 | 0 | 40-286
...hat-input.tsx | 52.94 | 21.42 | 40 | 52.94 | 21-24,28-30,45
...-messages.tsx | 54.38 | 56.66 | 100 | 57.4 | ...80,83-88,91-92
...hat-panel.tsx | 75 | 33.33 | 80 | 72.72 | 32-34
...at-toggle.tsx | 0 | 0 | 0 | 0 | 16
...nner-host.tsx | 0 | 0 | 0 | 0 | 13-23
...on-button.tsx | 100 | 100 | 100 | 100 |
...ion-field.tsx | 0 | 0 | 0 | 0 | 14-147
...ison-view.tsx | 0 | 0 | 0 | 0 | 12-133
...indicator.tsx | 0 | 100 | 0 | 0 | 8
...classification | 0 | 0 | 0 | 0 |
...sult-card.tsx | 0 | 0 | 0 | 0 | 17-42
intent-form.tsx | 0 | 0 | 0 | 0 | 54-123
pattern-form.tsx | 0 | 0 | 0 | 0 | 55-164
...ole-panel.tsx | 0 | 0 | 0 | 0 | 20-89
...tion/analytics | 0 | 0 | 0 | 0 |
...ary-cards.tsx | 0 | 0 | 0 | 0 | 19-49
...own-table.tsx | 0 | 0 | 0 | 0 | 26-46
...own-table.tsx | 0 | 0 | 0 | 0 | 24-61
...ion-panel.tsx | 0 | 0 | 0 | 0 | 28-61
components/auth | 100 | 92.85 | 100 | 100 |
auth-sync.tsx | 100 | 92.85 | 100 | 100 | 43-45
...ts/circulation | 100 | 95.45 | 100 | 100 |
...tion-list.tsx | 100 | 95.45 | 100 | 100 | 120
components/common | 91.11 | 88.88 | 96.96 | 92 |
can.tsx | 100 | 100 | 100 | 100 |
...rm-dialog.tsx | 100 | 100 | 100 | 100 |
data-table.tsx | 100 | 66.66 | 100 | 100 | 41,50
...r-display.tsx | 93.33 | 93.61 | 100 | 92.85 | 69,94
...iew-modal.tsx | 87.8 | 84.61 | 88.88 | 90.9 | 35,76,92
pagination.tsx | 100 | 100 | 100 | 100 |
status-badge.tsx | 78.26 | 77.77 | 100 | 78.26 | 37-38,48-50
...-boundary.tsx | 100 | 100 | 100 | 100 |
...orrespondences | 48.69 | 43.65 | 50.37 | 49.87 |
...atus-card.tsx | 100 | 83.33 | 100 | 100 | 30-32,51-52,94
...s-content.tsx | 0 | 0 | 0 | 0 | 17-212
detail.tsx | 80.64 | 67.74 | 77.27 | 88.67 | ...93,151,195,238
form.tsx | 55.55 | 43.08 | 53.33 | 56.2 | ...43,564,593-729
list.tsx | 92.85 | 67.74 | 100 | 96.29 | 112
...-selector.tsx | 0 | 0 | 0 | 0 | 38-203
...n-history.tsx | 0 | 0 | 0 | 0 | 13-56
tag-manager.tsx | 92.85 | 88.46 | 84.61 | 91.66 | 24,131
...ow-dialog.tsx | 0 | 0 | 0 | 0 | 15-198
components/custom | 1.35 | 0 | 0 | 1.4 |
...load-zone.tsx | 2 | 0 | 0 | 2.12 | 35-187
...isualizer.tsx | 0 | 0 | 0 | 0 | 30-68
...ents/dashboard | 0 | 0 | 0 | 0 |
...ing-tasks.tsx | 0 | 0 | 0 | 0 | 15-55
...k-actions.tsx | 0 | 100 | 0 | 0 | 8
...-activity.tsx | 0 | 0 | 0 | 0 | 16-51
stats-cards.tsx | 0 | 0 | 0 | 0 | 13-58
...nts/delegation | 0 | 0 | 0 | 0 |
...ationForm.tsx | 0 | 0 | 0 | 0 | 29-162
...s/distribution | 0 | 0 | 0 | 0 |
...ionStatus.tsx | 0 | 0 | 0 | 0 | 30-54
...cuments/common | 0 | 0 | 0 | 0 |
...ata-table.tsx | 0 | 0 | 0 | 0 | 39-161
...nents/drawings | 12.26 | 25.87 | 6.06 | 13.13 |
card.tsx | 100 | 96.15 | 100 | 100 | 73
columns.tsx | 10 | 0 | 0 | 10 | 21-66
list.tsx | 100 | 100 | 100 | 100 |
...n-history.tsx | 0 | 0 | 0 | 0 | 11-17
upload-form.tsx | 0 | 0 | 0 | 0 | 29-435
components/layout | 93.83 | 86.3 | 93.75 | 93.52 |
...ard-shell.tsx | 100 | 100 | 100 | 100 |
...al-search.tsx | 86.48 | 67.85 | 92.85 | 85.71 | 24,44,62-66
header.tsx | 100 | 100 | 100 | 100 |
navbar.tsx | 100 | 100 | 100 | 100 |
...-dropdown.tsx | 100 | 78.94 | 100 | 100 | 24,28-31,67
...-switcher.tsx | 100 | 100 | 100 | 100 |
sidebar.tsx | 90.9 | 96.66 | 77.77 | 90 | 152,224,236,250
theme-toggle.tsx | 100 | 100 | 100 | 100 |
user-menu.tsx | 100 | 75 | 100 | 100 | 34
user-nav.tsx | 100 | 60 | 100 | 100 | 26-38
...ents/migration | 0 | 0 | 0 | 0 |
...eue-table.tsx | 0 | 0 | 0 | 0 | 58-479
...ents/numbering | 29.94 | 19.69 | 31.57 | 29.94 |
...ogs-table.tsx | 0 | 0 | 0 | 0 | 10-52
...port-form.tsx | 0 | 0 | 0 | 0 | 11-38
...mber-form.tsx | 0 | 0 | 0 | 0 | 14-72
...ride-form.tsx | 100 | 80 | 100 | 100 | 45
...dashboard.tsx | 100 | 100 | 100 | 100 |
...ce-viewer.tsx | 100 | 93.33 | 100 | 100 | 21
...te-editor.tsx | 0 | 0 | 0 | 0 | 16-181
...te-tester.tsx | 0 | 0 | 0 | 0 | 36-182
...lace-form.tsx | 0 | 0 | 0 | 0 | 15-91
...nents/reminder | 0 | 0 | 0 | 0 |
...erHistory.tsx | 0 | 0 | 0 | 0 | 21-55
...rRuleForm.tsx | 0 | 0 | 0 | 0 | 15-129
.../response-code | 26.41 | 17.33 | 20.83 | 26.53 |
...lications.tsx | 0 | 0 | 0 | 0 | 14-72
MatrixEditor.tsx | 0 | 0 | 0 | 0 | 44-134
...deManager.tsx | 0 | 0 | 0 | 0 | 53-137
...eSelector.tsx | 100 | 72.22 | 100 | 100 | 40,74-89
...ts/review-task | 0 | 0 | 0 | 0 |
...eviewForm.tsx | 0 | 0 | 0 | 0 | 24-88
...atedBadge.tsx | 0 | 0 | 0 | 0 | 22-26
...lProgress.tsx | 0 | 0 | 0 | 0 | 27-64
...TaskInbox.tsx | 0 | 0 | 0 | 0 | 43-159
...ideDialog.tsx | 0 | 0 | 0 | 0 | 25-87
...ts/review-team | 0 | 0 | 0 | 0 |
...wTeamForm.tsx | 0 | 0 | 0 | 0 | 22-136
...mSelector.tsx | 0 | 0 | 0 | 0 | 17-67
...erManager.tsx | 0 | 0 | 0 | 0 | 45-172
components/rfas | 57.14 | 55.08 | 43.58 | 57.56 |
detail.tsx | 58.13 | 64.28 | 62.5 | 58.53 | ...,82-92,189-194
form.tsx | 55.08 | 50.23 | 30.18 | 55.68 | ...84,496,514-778
list.tsx | 72.72 | 70.83 | 88.88 | 71.42 | 78-89
components/search | 66.66 | 58.33 | 46.15 | 75 |
filters.tsx | 45 | 37.5 | 30 | 52.94 | 33-35,39-41,63,81
results.tsx | 93.75 | 75 | 100 | 100 | 39,63-70
...ts/transmittal | 72.72 | 55.76 | 72.22 | 74.19 |
...ttal-form.tsx | 93.61 | 75 | 89.28 | 93.47 | 100,317,405
...ttal-list.tsx | 21.05 | 12.5 | 12.5 | 18.75 | 24-67
components/ui | 90.84 | 79.06 | 80 | 90.84 |
alert-dialog.tsx | 100 | 100 | 100 | 100 |
alert.tsx | 90 | 100 | 66.66 | 90 | 31
avatar.tsx | 100 | 100 | 100 | 100 |
badge.tsx | 100 | 100 | 100 | 100 |
button.tsx | 100 | 100 | 100 | 100 |
calendar.tsx | 0 | 0 | 0 | 0 | 13-54
card.tsx | 100 | 100 | 100 | 100 |
checkbox.tsx | 100 | 100 | 100 | 100 |
command.tsx | 91.66 | 100 | 75 | 91.66 | 83,104
dialog.tsx | 100 | 100 | 100 | 100 |
...down-menu.tsx | 92.3 | 42.85 | 71.42 | 92.3 | 79,98
form.tsx | 97.29 | 90 | 100 | 97.29 | 43
hover-card.tsx | 100 | 100 | 100 | 100 |
input.tsx | 100 | 100 | 100 | 100 |
label.tsx | 100 | 100 | 100 | 100 |
popover.tsx | 100 | 100 | 100 | 100 |
progress.tsx | 100 | 100 | 100 | 100 |
scroll-area.tsx | 100 | 80 | 100 | 100 | 30
select.tsx | 95.83 | 100 | 85.71 | 95.83 | 128
separator.tsx | 100 | 75 | 100 | 100 | 16
sheet.tsx | 86.95 | 100 | 50 | 86.95 | 73,78,94
skeleton.tsx | 100 | 100 | 100 | 100 |
sonner.tsx | 0 | 0 | 0 | 0 | 9-11
switch.tsx | 100 | 100 | 100 | 100 |
table.tsx | 91.66 | 100 | 75 | 91.66 | 28,67
tabs.tsx | 0 | 100 | 0 | 0 | 8-53
textarea.tsx | 100 | 100 | 100 | 100 |
...nents/workflow | 83.63 | 81.48 | 78.57 | 88.54 |
...ed-banner.tsx | 86.36 | 74.54 | 90 | 94.59 | 45,135
...lifecycle.tsx | 81.81 | 88.67 | 72.22 | 84.74 | 57,60,63,255-261
...ents/workflows | 15.38 | 15.32 | 12.12 | 16 |
dsl-editor.tsx | 63.15 | 61.76 | 50 | 64.86 | 41-46,51,79-88
...l-builder.tsx | 0 | 0 | 0 | 0 | 70-406
hooks | 64.06 | 43.05 | 62.76 | 64.15 |
use-ai-chat.ts | 84.21 | 50 | 75 | 88.88 | 18-21,85
...ai-prompts.ts | 100 | 75 | 100 | 100 | 107,117-175
use-ai-status.ts | 18.18 | 7.14 | 9.09 | 21.42 | 17-25,41-82
...audit-logs.ts | 0 | 100 | 0 | 0 | 5-13
...irculation.ts | 44.44 | 0 | 50 | 44.44 | 7,16-26
...espondence.ts | 51.28 | 10 | 49.05 | 51.28 | 81,98-117,136-224
use-dashboard.ts | 100 | 100 | 100 | 100 |
...delegation.ts | 100 | 100 | 100 | 100 |
...n-matrices.ts | 0 | 0 | 0 | 0 | 47-98
use-drawing.ts | 63.15 | 54.16 | 62.5 | 62.96 | ...05,124,141-179
...aster-data.ts | 100 | 61.53 | 100 | 100 | 39-72,98-99
...ion-review.ts | 0 | 0 | 0 | 0 | 20-101
...tification.ts | 0 | 100 | 0 | 0 | 5-28
use-numbering.ts | 100 | 100 | 100 | 100 |
use-projects.ts | 100 | 100 | 100 | 100 |
...rence-data.ts | 0 | 0 | 0 | 0 | 10-118
use-reminder.ts | 0 | 100 | 0 | 0 | 45-126
...onse-codes.ts | 0 | 0 | 0 | 0 | 6-41
...view-teams.ts | 100 | 50 | 100 | 100 | 27
use-rfa.ts | 78.37 | 100 | 80 | 78.37 | 41-52,87
use-search.ts | 0 | 0 | 0 | 0 | 5-23
...anslations.ts | 0 | 100 | 0 | 0 | 9-12
...ransmittal.ts | 100 | 100 | 100 | 100 |
use-users.ts | 100 | 100 | 100 | 100 |
...low-action.ts | 90.47 | 74.19 | 100 | 90.24 | 77-80,97,107
...ow-history.ts | 100 | 100 | 100 | 100 |
use-workflows.ts | 100 | 100 | 100 | 100 |
hooks/ai | 44.11 | 100 | 48.14 | 44.11 |
...sification.ts | 44.11 | 100 | 48.14 | 44.11 | 72-122
lib | 32 | 28.57 | 46.15 | 31.94 |
auth.ts | 27.94 | 28.57 | 33.33 | 27.69 | 67,75-113,134-232
test-utils.tsx | 66.66 | 100 | 66.66 | 66.66 | 33-34
utils.ts | 100 | 100 | 100 | 100 |
lib/api | 35.63 | 31.25 | 20.83 | 36.56 |
admin.ts | 100 | 50 | 100 | 100 | 76-104
ai.ts | 32.65 | 38.88 | 8.69 | 30.43 | ...13-175,200-222
client.ts | 81.35 | 72.54 | 62.5 | 82.45 | 70-87,177
dashboard.ts | 0 | 100 | 0 | 0 | 8-53
drawings.ts | 0 | 100 | 0 | 0 | 4-41
files.ts | 14.28 | 100 | 0 | 16.66 | 15-24
notifications.ts | 0 | 0 | 0 | 0 | 4-49
numbering.ts | 0 | 0 | 0 | 0 | 124-343
workflows.ts | 0 | 0 | 0 | 0 | 4-86
lib/i18n | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
lib/services | 70.06 | 65.93 | 70.19 | 69.3 |
...ai.service.ts | 6.38 | 0 | 2.77 | 6.38 | ...84-191,209-459
...nt.service.ts | 0 | 0 | 0 | 0 | 9-229
...ts.service.ts | 0 | 0 | 0 | 0 | 9-76
ai.service.ts | 100 | 100 | 100 | 100 |
...ng.service.ts | 100 | 100 | 100 | 100 |
...og.service.ts | 100 | 100 | 100 | 100 |
...on.service.ts | 100 | 100 | 100 | 100 |
...ng.service.ts | 100 | 100 | 100 | 100 |
...ct.service.ts | 100 | 100 | 100 | 100 |
...ce.service.ts | 61.29 | 100 | 60 | 61.29 | ...2,67-68,90-115
...rd.service.ts | 100 | 89.13 | 100 | 100 | 68,80-82
...ng.service.ts | 100 | 100 | 100 | 100 |
...ta.service.ts | 100 | 82.35 | 100 | 100 | 117-149
index.ts | 0 | 0 | 0 | 0 |
...ma.service.ts | 0 | 100 | 0 | 0 | 5-69
...ta.service.ts | 84.5 | 71.42 | 88.23 | 82.81 | ...46-147,226-241
...on.service.ts | 88.23 | 59.45 | 100 | 87.87 | 29,67-77
...ng.service.ts | 0 | 100 | 0 | 0 | 9-25
...on.service.ts | 0 | 100 | 0 | 0 | 4-19
...on.service.ts | 100 | 100 | 100 | 100 |
...ct.service.ts | 100 | 100 | 100 | 100 |
...am.service.ts | 100 | 100 | 100 | 100 |
rfa.service.ts | 100 | 100 | 100 | 100 |
...ch.service.ts | 100 | 100 | 100 | 100 |
...on.service.ts | 94.11 | 81.81 | 100 | 93.33 | 32
...ng.service.ts | 100 | 100 | 100 | 100 |
...al.service.ts | 100 | 100 | 100 | 100 |
user.service.ts | 96.15 | 80 | 100 | 96 | 27
...ne.service.ts | 96.72 | 66.17 | 100 | 96.49 | 51,62
lib/stores | 100 | 100 | 100 | 100 |
auth-store.ts | 100 | 100 | 100 | 100 |
draft-store.ts | 100 | 100 | 100 | 100 |
project-store.ts | 100 | 100 | 100 | 100 |
ui-store.ts | 100 | 100 | 100 | 100 |
lib/utils | 100 | 100 | 100 | 100 |
uuid-guard.ts | 100 | 100 | 100 | 100 |
-------------------|---------|----------|---------|---------|-------------------