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 [32m✓[39m lib/api/__tests__/admin.test.ts [2m([22m[2m10 tests[22m[2m)[22m[33m 6025[2mms[22m[39m [33m[2m✓[22m[39m ควร return array of users [33m 538[2mms[22m[39m [33m[2m✓[22m[39m ควร return users ที่มี publicId, username, email [33m 602[2mms[22m[39m [33m[2m✓[22m[39m ควร create user ใหม่และ return user object [33m 903[2mms[22m[39m [33m[2m✓[22m[39m ควร assign userId ใหม่ให้ user [33m 810[2mms[22m[39m [33m[2m✓[22m[39m ควร return array of organizations [33m 511[2mms[22m[39m [33m[2m✓[22m[39m ควร return organizations ที่มี publicId, orgCode, orgName [33m 512[2mms[22m[39m [33m[2m✓[22m[39m ควร create organization ใหม่และ return org object [33m 609[2mms[22m[39m [33m[2m✓[22m[39m ควร assign orgId ใหม่ให้ organization [33m 603[2mms[22m[39m [33m[2m✓[22m[39m ควร return array of audit logs [33m 484[2mms[22m[39m [33m[2m✓[22m[39m ควร return logs ที่มี publicId, userName, action [33m 444[2mms[22m[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}. [32m✓[39m components/workflow/__tests__/integrated-banner.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 19140[2mms[22m[39m [33m[2m✓[22m[39m renders metadata, priority, workflow state, and legacy actions [33m 5616[2mms[22m[39m [33m[2m✓[22m[39m requires comment for reject action [33m 12129[2mms[22m[39m [33m[2m✓[22m[39m uses workflow mutation when instanceId is provided [33m 1186[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/detail.test.tsx [2m([22m[2m7 tests[22m[2m)[22m[33m 16897[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์รายละเอียดเอกสารและข้อมูลพื้นฐานได้ถูกต้อง [33m 3087[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่มและส่งคำขอเมื่อกด Submit for Review ในกรณีที่เป็น DRAFT [33m 7163[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงข้อความเตือนภัยและซ่อนปุ่มการกระทำบางอย่างหากเอกสารถูกยกเลิก [33m 1607[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Approve และ Reject ในกรณีที่เอกสารเป็น IN_REVIEW [33m 1246[2mms[22m[39m [33m[2m✓[22m[39m ควรเปิดการกดยืนยันการอนุมัติและส่งความคิดเห็นได้ถูกต้อง [33m 1858[2mms[22m[39m [33m[2m✓[22m[39m ควรเปิดส่วนยกเลิกเอกสารและส่งเหตุผลการยกเลิกได้ถูกต้อง [33m 1776[2mms[22m[39m [32m✓[39m components/correspondences/form.test.tsx [2m([22m[2m2 tests[22m[2m)[22m[33m 20803[2mms[22m[39m [33m[2m✓[22m[39m keeps edit prefilled values after mount (no reset on initial render) [33m 15496[2mms[22m[39m [33m[2m✓[22m[39m keeps dependent fields intact after async effects (reset guard) [33m 5297[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 30378[2mms[22m[39m [33m[2m✓[22m[39m creates a user with required fields and selected role [33m 21875[2mms[22m[39m [33m[2m✓[22m[39m pre-fills existing user and submits update without empty password [33m 5818[2mms[22m[39m [33m[2m✓[22m[39m closes when cancel is clicked [33m 2671[2mms[22m[39m [32m✓[39m components/rfas/__tests__/form.test.tsx [2m([22m[2m27 tests[22m[2m)[22m[33m 35172[2mms[22m[39m [33m[2m✓[22m[39m should render form with all required fields [33m 5058[2mms[22m[39m [33m[2m✓[22m[39m should render optional fields [33m 2348[2mms[22m[39m [33m[2m✓[22m[39m should render submit button [33m 2899[2mms[22m[39m [33m[2m✓[22m[39m should render AI suggestion button [33m 2001[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty project [33m 4178[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty contract [33m 1506[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty discipline [33m 2037[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty type [33m 1504[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for short subject [33m 2441[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty to organization [33m 2348[2mms[22m[39m [33m[2m✓[22m[39m should allow subject input [33m 343[2mms[22m[39m [33m[2m✓[22m[39m should allow description input [33m 926[2mms[22m[39m [33m[2m✓[22m[39m should allow body input [33m 640[2mms[22m[39m [33m[2m✓[22m[39m should allow remarks input [33m 691[2mms[22m[39m [33m[2m✓[22m[39m should render shop drawing section [33m 1140[2mms[22m[39m [33m[2m✓[22m[39m should render as-built drawing section [33m 584[2mms[22m[39m [33m[2m✓[22m[39m should show search input for shop drawings [33m 478[2mms[22m[39m [33m[2m✓[22m[39m should show search input for as-built drawings [33m 812[2mms[22m[39m [33m[2m✓[22m[39m should show preview section when form is valid [33m 1128[2mms[22m[39m [33m[2m✓[22m[39m should display preview number [33m 1163[2mms[22m[39m [33m[2m✓[22m[39m should call create mutation on valid submit [33m 570[2mms[22m[39m [33m[2m✓[22m[39m should show loading state during submission [33m 331[2mms[22m[39m 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(...) [31m❯[39m components/transmittal/__tests__/transmittal-form.test.tsx [2m([22m[2m3 tests[22m[2m | [22m[31m1 failed[39m[2m)[22m[33m 48965[2mms[22m[39m [33m[2m✓[22m[39m renders main sections and supports cancel navigation [33m 13809[2mms[22m[39m [33m[2m✓[22m[39m shows validation errors when required fields are missing [33m 5018[2mms[22m[39m [31m [31m×[31m submits cleaned transmittal payload and navigates to created record[39m[33m 30129[2mms[22m[39m 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(...) 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/layout/__tests__/user-nav.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 21541[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์อักษรย่อชื่อผู้ใช้ได้อย่างถูกต้อง [33m 1077[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount) [33m 8143[2mms[22m[39m [33m[2m✓[22m[39m ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile [33m 5057[2mms[22m[39m [33m[2m✓[22m[39m ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings [33m 4686[2mms[22m[39m [33m[2m✓[22m[39m ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out [33m 2491[2mms[22m[39m [32m✓[39m components/admin/__tests__/organization-dialog.test.tsx [2m([22m[2m8 tests[22m[2m)[22m[33m 18755[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์ Dialog เมื่อ open เป็น true [33m 3223[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง title "New Organization" เมื่อไม่มี organization prop [33m 905[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง title "Edit Organization" เมื่อมี organization prop [33m 1902[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Cancel และ Create Organization สำหรับ New [33m 6580[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Save Changes สำหรับ Edit [33m 1732[2mms[22m[39m [33m[2m✓[22m[39m ควรเรียก onOpenChange(false) เมื่อคลิก Cancel [33m 955[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง validation error เมื่อ submit form ว่างเปล่า [33m 3236[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}. 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 12930[2mms[22m[39m [33m[2m✓[22m[39m renders data rows returned by fetchFn [33m 1758[2mms[22m[39m [33m[2m✓[22m[39m renders empty state for wrapped empty data [33m 328[2mms[22m[39m [33m[2m✓[22m[39m creates a new item from dialog form [33m 10815[2mms[22m[39m [32m✓[39m components/common/__tests__/file-preview-modal.test.tsx [2m([22m[2m6 tests[22m[2m)[22m[33m 13060[2mms[22m[39m [33m[2m✓[22m[39m renders iframe for PDF MIME type [33m 5917[2mms[22m[39m [33m[2m✓[22m[39m renders img for image MIME type [33m 1926[2mms[22m[39m [33m[2m✓[22m[39m shows download link for unsupported MIME type (no iframe or img) [33m 1416[2mms[22m[39m [33m[2m✓[22m[39m calls onClose when close button is clicked [33m 2343[2mms[22m[39m [33m[2m✓[22m[39m calls onUnavailable when API returns 404 [33m 1288[2mms[22m[39m stderr | components/admin/__tests__/sidebar.test.tsx > AdminMobileSidebar > opens mobile navigation from trigger button Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}. [32m✓[39m components/admin/__tests__/sidebar.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 12514[2mms[22m[39m [33m[2m✓[22m[39m auto-expands the active menu and renders child links [33m 6461[2mms[22m[39m [33m[2m✓[22m[39m toggles a collapsed menu on click [33m 3158[2mms[22m[39m [33m[2m✓[22m[39m opens mobile navigation from trigger button [33m 2844[2mms[22m[39m [32m✓[39m components/numbering/__tests__/manual-override-form.test.tsx [2m([22m[2m12 tests[22m[2m)[22m[33m 13994[2mms[22m[39m [33m[2m✓[22m[39m should render form with all required fields [33m 2276[2mms[22m[39m [33m[2m✓[22m[39m should render with default projectId from props [33m 634[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty project [33m 1628[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty originator [33m 599[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty recipient [33m 847[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty type [33m 1086[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty new number [33m 429[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for short reason [33m 888[2mms[22m[39m [33m[2m✓[22m[39m should submit form with valid data [33m 2684[2mms[22m[39m [33m[2m✓[22m[39m should show error toast on submission failure [33m 1762[2mms[22m[39m [33m[2m✓[22m[39m should disable submit button while loading [33m 330[2mms[22m[39m [33m[2m✓[22m[39m should reset form after successful submission [33m 634[2mms[22m[39m [32m✓[39m components/admin/ai/__tests__/prompt-version-history.test.tsx [2m([22m[2m2 tests[22m[2m)[22m[33m 4778[2mms[22m[39m [33m[2m✓[22m[39m renders loading and empty states [33m 499[2mms[22m[39m [33m[2m✓[22m[39m renders versions and triggers version actions [33m 4250[2mms[22m[39m [32m✓[39m components/layout/__tests__/sidebar.test.tsx [2m([22m[2m4 tests[22m[2m)[22m[33m 4149[2mms[22m[39m [33m[2m✓[22m[39m ควร render sidebar พร้อม navigation items [33m 678[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง Admin Panel เมื่อ user เป็น ADMIN [33m 606[2mms[22m[39m [33m[2m✓[22m[39m ควร render mobile sidebar พร้อม navigation items [33m 2650[2mms[22m[39m [32m✓[39m components/admin/security/__tests__/rbac-matrix.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 5971[2mms[22m[39m [33m[2m✓[22m[39m renders roles and permissions from API data [33m 2818[2mms[22m[39m [33m[2m✓[22m[39m saves pending permission changes [33m 2860[2mms[22m[39m [32m✓[39m components/admin/ai/__tests__/ocr-engine-selector.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 5278[2mms[22m[39m [33m[2m✓[22m[39m renders OCR engine data from admin service [33m 1398[2mms[22m[39m [33m[2m✓[22m[39m selects a non-active OCR engine and refreshes list [33m 3766[2mms[22m[39m [32m✓[39m components/workflows/__tests__/dsl-editor.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 8361[2mms[22m[39m [33m[2m✓[22m[39m calls workflowApi.validateDSL when Validate button is clicked [33m 5000[2mms[22m[39m [33m[2m✓[22m[39m calls onValidationChange(true) when validation returns errors [33m 1652[2mms[22m[39m [33m[2m✓[22m[39m calls onValidationChange(false) when validation returns valid [33m 551[2mms[22m[39m [33m[2m✓[22m[39m calls onValidationChange(true) on server error [33m 672[2mms[22m[39m [33m[2m✓[22m[39m does not call onValidationChange when prop is not provided [33m 459[2mms[22m[39m stderr | components/layout/__tests__/layout-widgets.test.tsx > layout widgets > ProjectSwitcher ควรเลือก project และ global ได้ In HTML,