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. [1m[30m[46m RUN [49m[39m[22m [36mv4.1.8 [39m[90mE:/np-dms/lcbp3/frontend[39m [2mCoverage enabled with [22m[33mv8[39m 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(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not configured to support act(...) The current testing environment is not 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 > ควรแสดงรายละเอียดผู้ใช้ใน 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/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/admin/__tests__/sidebar.test.tsx > AdminMobileSidebar > opens mobile navigation from trigger button Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}. 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/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(...) [32m✓[39m components/admin/__tests__/sidebar.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 4137[2mms[22m[39m [33m[2m✓[22m[39m auto-expands the active menu and renders child links [33m 1931[2mms[22m[39m [33m[2m✓[22m[39m toggles a collapsed menu on click [33m 1249[2mms[22m[39m [33m[2m✓[22m[39m opens mobile navigation from trigger button [33m 945[2mms[22m[39m 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(...) [32m✓[39m components/workflow/__tests__/integrated-banner.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 5683[2mms[22m[39m [33m[2m✓[22m[39m renders metadata, priority, workflow state, and legacy actions [33m 1750[2mms[22m[39m [33m[2m✓[22m[39m requires comment for reject action [33m 3667[2mms[22m[39m [32m✓[39m components/layout/__tests__/user-nav.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 5638[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์อักษรย่อชื่อผู้ใช้ได้อย่างถูกต้อง [33m 370[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount) [33m 2136[2mms[22m[39m [33m[2m✓[22m[39m ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile [33m 1145[2mms[22m[39m [33m[2m✓[22m[39m ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings [33m 1108[2mms[22m[39m [33m[2m✓[22m[39m ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out [33m 860[2mms[22m[39m 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}. [32m✓[39m components/correspondences/form.test.tsx [2m([22m[2m2 tests[22m[2m)[22m[33m 5784[2mms[22m[39m [33m[2m✓[22m[39m keeps edit prefilled values after mount (no reset on initial render) [33m 4365[2mms[22m[39m [33m[2m✓[22m[39m keeps dependent fields intact after async effects (reset guard) [33m 1406[2mms[22m[39m stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > closes when cancel is clicked Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}. [32m✓[39m components/admin/__tests__/user-dialog.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 9493[2mms[22m[39m [33m[2m✓[22m[39m creates a user with required fields and selected role [33m 6627[2mms[22m[39m [33m[2m✓[22m[39m pre-fills existing user and submits update without empty password [33m 2132[2mms[22m[39m [33m[2m✓[22m[39m closes when cancel is clicked [33m 724[2mms[22m[39m [32m✓[39m components/rfas/__tests__/form.test.tsx [2m([22m[2m27 tests[22m[2m)[22m[33m 11328[2mms[22m[39m [33m[2m✓[22m[39m should render form with all required fields [33m 1363[2mms[22m[39m [33m[2m✓[22m[39m should render optional fields [33m 669[2mms[22m[39m [33m[2m✓[22m[39m should render submit button [33m 468[2mms[22m[39m [33m[2m✓[22m[39m should render AI suggestion button [33m 470[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty project [33m 790[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty contract [33m 570[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty discipline [33m 521[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty type [33m 439[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for short subject [33m 514[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty to organization [33m 546[2mms[22m[39m [33m[2m✓[22m[39m should allow subject input [33m 353[2mms[22m[39m [33m[2m✓[22m[39m should allow description input [33m 355[2mms[22m[39m [33m[2m✓[22m[39m should allow body input [33m 310[2mms[22m[39m [33m[2m✓[22m[39m should allow remarks input [33m 417[2mms[22m[39m [33m[2m✓[22m[39m should render shop drawing section [33m 305[2mms[22m[39m [33m[2m✓[22m[39m should render as-built drawing section [33m 379[2mms[22m[39m [33m[2m✓[22m[39m should show search input for as-built drawings [33m 394[2mms[22m[39m [33m[2m✓[22m[39m should show preview section when form is valid [33m 791[2mms[22m[39m [33m[2m✓[22m[39m should display preview number [33m 797[2mms[22m[39m [33m[2m✓[22m[39m should call create mutation on valid submit [33m 371[2mms[22m[39m [32m✓[39m components/transmittal/__tests__/transmittal-form.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 15758[2mms[22m[39m [33m[2m✓[22m[39m renders main sections and supports cancel navigation [33m 3523[2mms[22m[39m [33m[2m✓[22m[39m shows validation errors when required fields are missing [33m 1546[2mms[22m[39m [33m[2m✓[22m[39m submits cleaned transmittal payload and navigates to created record [33m 10669[2mms[22m[39m [32m✓[39m components/numbering/__tests__/manual-override-form.test.tsx [2m([22m[2m12 tests[22m[2m)[22m[33m 4130[2mms[22m[39m [33m[2m✓[22m[39m should render form with all required fields [33m 645[2mms[22m[39m [33m[2m✓[22m[39m should render with default projectId from props [33m 409[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty project [33m 478[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty recipient [33m 336[2mms[22m[39m [33m[2m✓[22m[39m should submit form with valid data [33m 485[2mms[22m[39m [33m[2m✓[22m[39m should reset form after successful submission [33m 343[2mms[22m[39m 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}. [32m✓[39m components/admin/__tests__/organization-dialog.test.tsx [2m([22m[2m8 tests[22m[2m)[22m[33m 5041[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์ Dialog เมื่อ open เป็น true [33m 876[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง title "New Organization" เมื่อไม่มี organization prop [33m 441[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง title "Edit Organization" เมื่อมี organization prop [33m 409[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Cancel และ Create Organization สำหรับ New [33m 1481[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Save Changes สำหรับ Edit [33m 765[2mms[22m[39m [33m[2m✓[22m[39m ควรเรียก onOpenChange(false) เมื่อคลิก Cancel [33m 365[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง validation error เมื่อ submit form ว่างเปล่า [33m 559[2mms[22m[39m 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. [32m✓[39m components/admin/reference/__tests__/generic-crud-table.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 4817[2mms[22m[39m [33m[2m✓[22m[39m renders data rows returned by fetchFn [33m 563[2mms[22m[39m [33m[2m✓[22m[39m creates a new item from dialog form [33m 3956[2mms[22m[39m [32m✓[39m components/common/__tests__/file-preview-modal.test.tsx [2m([22m[2m6 tests[22m[2m)[22m[33m 4450[2mms[22m[39m [33m[2m✓[22m[39m renders iframe for PDF MIME type [33m 2034[2mms[22m[39m [33m[2m✓[22m[39m renders img for image MIME type [33m 707[2mms[22m[39m [33m[2m✓[22m[39m shows download link for unsupported MIME type (no iframe or img) [33m 633[2mms[22m[39m [33m[2m✓[22m[39m calls onClose when close button is clicked [33m 686[2mms[22m[39m [33m[2m✓[22m[39m calls onUnavailable when API returns 404 [33m 372[2mms[22m[39m [32m✓[39m components/ui/__tests__/button.test.tsx [2m([22m[2m17 tests[22m[2m)[22m[33m 2486[2mms[22m[39m [33m[2m✓[22m[39m should render with default variant and size [33m 1304[2mms[22m[39m [32m✓[39m components/workflow/__tests__/workflow-lifecycle.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 3103[2mms[22m[39m [33m[2m✓[22m[39m renders history steps and opens available attachments [33m 1627[2mms[22m[39m [33m[2m✓[22m[39m uploads and removes pending workflow step attachments [33m 909[2mms[22m[39m [32m✓[39m components/correspondences/detail.test.tsx [2m([22m[2m7 tests[22m[2m)[22m[33m 5793[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์รายละเอียดเอกสารและข้อมูลพื้นฐานได้ถูกต้อง [33m 899[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่มและส่งคำขอเมื่อกด Submit for Review ในกรณีที่เป็น DRAFT [33m 1556[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงข้อความเตือนภัยและซ่อนปุ่มการกระทำบางอย่างหากเอกสารถูกยกเลิก [33m 399[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Approve และ Reject ในกรณีที่เอกสารเป็น IN_REVIEW [33m 753[2mms[22m[39m [33m[2m✓[22m[39m ควรเปิดการกดยืนยันการอนุมัติและส่งความคิดเห็นได้ถูกต้อง [33m 1167[2mms[22m[39m [33m[2m✓[22m[39m ควรเปิดส่วนยกเลิกเอกสารและส่งเหตุผลการยกเลิกได้ถูกต้อง [33m 849[2mms[22m[39m [32m✓[39m components/numbering/__tests__/sequence-viewer.test.tsx [2m([22m[2m13 tests[22m[2m)[22m[33m 1987[2mms[22m[39m [33m[2m✓[22m[39m should render loading state initially [33m 468[2mms[22m[39m [33m[2m✓[22m[39m should filter sequences by type [33m 338[2mms[22m[39m [32m✓[39m components/admin/security/__tests__/rbac-matrix.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 3438[2mms[22m[39m [33m[2m✓[22m[39m renders roles and permissions from API data [33m 1689[2mms[22m[39m [33m[2m✓[22m[39m saves pending permission changes [33m 1533[2mms[22m[39m [32m✓[39m components/rfas/__tests__/detail.test.tsx [2m([22m[2m19 tests[22m[2m)[22m[33m 2276[2mms[22m[39m [33m[2m✓[22m[39m should render RFA detail with data [33m 565[2mms[22m[39m [32m✓[39m components/response-code/ResponseCodeSelector.test.tsx [2m([22m[2m2 tests[22m[2m)[22m[33m 1536[2mms[22m[39m [33m[2m✓[22m[39m renders the trigger with placeholder text [33m 1289[2mms[22m[39m stderr | components/layout/__tests__/layout-widgets.test.tsx > layout widgets > ProjectSwitcher ควรเลือก project และ global ได้ In HTML,