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/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(...) [32m✓[39m components/admin/__tests__/organization-dialog.test.tsx [2m([22m[2m8 tests[22m[2m)[22m[33m 3073[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์ Dialog เมื่อ open เป็น true [33m 523[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Cancel และ Create Organization สำหรับ New [33m 902[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Save Changes สำหรับ Edit [33m 309[2mms[22m[39m [33m[2m✓[22m[39m ควรเรียก onOpenChange(false) เมื่อคลิก Cancel [33m 323[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง validation error เมื่อ submit form ว่างเปล่า [33m 380[2mms[22m[39m [32m✓[39m components/admin/reference/__tests__/generic-crud-table.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 3343[2mms[22m[39m [33m[2m✓[22m[39m renders data rows returned by fetchFn [33m 493[2mms[22m[39m [33m[2m✓[22m[39m creates a new item from dialog form [33m 2652[2mms[22m[39m [32m✓[39m components/workflow/__tests__/integrated-banner.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 3730[2mms[22m[39m [33m[2m✓[22m[39m renders metadata, priority, workflow state, and legacy actions [33m 1170[2mms[22m[39m [33m[2m✓[22m[39m requires comment for reject action [33m 2378[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/layout/__tests__/user-nav.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 4180[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount) [33m 1370[2mms[22m[39m [33m[2m✓[22m[39m ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile [33m 906[2mms[22m[39m [33m[2m✓[22m[39m ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings [33m 829[2mms[22m[39m [33m[2m✓[22m[39m ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out [33m 762[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}. 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 9233[2mms[22m[39m [33m[2m✓[22m[39m creates a user with required fields and selected role [33m 6406[2mms[22m[39m [33m[2m✓[22m[39m pre-fills existing user and submits update without empty password [33m 2302[2mms[22m[39m [33m[2m✓[22m[39m closes when cancel is clicked [33m 514[2mms[22m[39m [32m✓[39m components/rfas/__tests__/form.test.tsx [2m([22m[2m27 tests[22m[2m)[22m[33m 10824[2mms[22m[39m [33m[2m✓[22m[39m should render form with all required fields [33m 891[2mms[22m[39m [33m[2m✓[22m[39m should render optional fields [33m 547[2mms[22m[39m [33m[2m✓[22m[39m should render submit button [33m 413[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty project [33m 566[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty contract [33m 592[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty discipline [33m 581[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty type [33m 359[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for short subject [33m 656[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty to organization [33m 489[2mms[22m[39m [33m[2m✓[22m[39m should allow subject input [33m 488[2mms[22m[39m [33m[2m✓[22m[39m should allow body input [33m 402[2mms[22m[39m [33m[2m✓[22m[39m should allow remarks input [33m 437[2mms[22m[39m [33m[2m✓[22m[39m should render shop drawing section [33m 386[2mms[22m[39m [33m[2m✓[22m[39m should render as-built drawing section [33m 374[2mms[22m[39m [33m[2m✓[22m[39m should show search input for shop drawings [33m 317[2mms[22m[39m [33m[2m✓[22m[39m should show search input for as-built drawings [33m 450[2mms[22m[39m [33m[2m✓[22m[39m should show preview section when form is valid [33m 800[2mms[22m[39m [33m[2m✓[22m[39m should display preview number [33m 775[2mms[22m[39m [33m[2m✓[22m[39m should call create mutation on valid submit [33m 370[2mms[22m[39m [33m[2m✓[22m[39m should show loading state during submission [33m 325[2mms[22m[39m [32m✓[39m components/transmittal/__tests__/transmittal-form.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 15486[2mms[22m[39m [33m[2m✓[22m[39m renders main sections and supports cancel navigation [33m 2737[2mms[22m[39m [33m[2m✓[22m[39m shows validation errors when required fields are missing [33m 1994[2mms[22m[39m [33m[2m✓[22m[39m submits cleaned transmittal payload and navigates to created record [33m 10741[2mms[22m[39m [32m✓[39m lib/api/__tests__/admin.test.ts [2m([22m[2m10 tests[22m[2m)[22m[33m 5792[2mms[22m[39m [33m[2m✓[22m[39m ควร return array of users [33m 526[2mms[22m[39m [33m[2m✓[22m[39m ควร return users ที่มี publicId, username, email [33m 524[2mms[22m[39m [33m[2m✓[22m[39m ควร create user ใหม่และ return user object [33m 814[2mms[22m[39m [33m[2m✓[22m[39m ควร assign userId ใหม่ให้ user [33m 814[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 513[2mms[22m[39m [33m[2m✓[22m[39m ควร create organization ใหม่และ return org object [33m 603[2mms[22m[39m [33m[2m✓[22m[39m ควร assign orgId ใหม่ให้ organization [33m 609[2mms[22m[39m [33m[2m✓[22m[39m ควร return array of audit logs [33m 427[2mms[22m[39m [33m[2m✓[22m[39m ควร return logs ที่มี publicId, userName, action [33m 407[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 4226[2mms[22m[39m [33m[2m✓[22m[39m auto-expands the active menu and renders child links [33m 1999[2mms[22m[39m [33m[2m✓[22m[39m toggles a collapsed menu on click [33m 1334[2mms[22m[39m [33m[2m✓[22m[39m opens mobile navigation from trigger button [33m 874[2mms[22m[39m [32m✓[39m components/correspondences/form.test.tsx [2m([22m[2m2 tests[22m[2m)[22m[33m 6172[2mms[22m[39m [33m[2m✓[22m[39m keeps edit prefilled values after mount (no reset on initial render) [33m 4307[2mms[22m[39m [33m[2m✓[22m[39m keeps dependent fields intact after async effects (reset guard) [33m 1856[2mms[22m[39m [32m✓[39m components/correspondences/detail.test.tsx [2m([22m[2m7 tests[22m[2m)[22m[33m 5536[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์รายละเอียดเอกสารและข้อมูลพื้นฐานได้ถูกต้อง [33m 863[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่มและส่งคำขอเมื่อกด Submit for Review ในกรณีที่เป็น DRAFT [33m 1845[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงข้อความเตือนภัยและซ่อนปุ่มการกระทำบางอย่างหากเอกสารถูกยกเลิก [33m 514[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดงปุ่ม Approve และ Reject ในกรณีที่เอกสารเป็น IN_REVIEW [33m 391[2mms[22m[39m [33m[2m✓[22m[39m ควรเปิดการกดยืนยันการอนุมัติและส่งความคิดเห็นได้ถูกต้อง [33m 590[2mms[22m[39m [33m[2m✓[22m[39m ควรเปิดส่วนยกเลิกเอกสารและส่งเหตุผลการยกเลิกได้ถูกต้อง [33m 1127[2mms[22m[39m [32m✓[39m components/common/__tests__/file-preview-modal.test.tsx [2m([22m[2m6 tests[22m[2m)[22m[33m 5419[2mms[22m[39m [33m[2m✓[22m[39m renders iframe for PDF MIME type [33m 2644[2mms[22m[39m [33m[2m✓[22m[39m renders img for image MIME type [33m 666[2mms[22m[39m [33m[2m✓[22m[39m shows download link for unsupported MIME type (no iframe or img) [33m 666[2mms[22m[39m [33m[2m✓[22m[39m calls onClose when close button is clicked [33m 1008[2mms[22m[39m [33m[2m✓[22m[39m calls onUnavailable when API returns 404 [33m 418[2mms[22m[39m [32m✓[39m components/admin/security/__tests__/rbac-matrix.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[33m 4363[2mms[22m[39m [33m[2m✓[22m[39m renders roles and permissions from API data [33m 2235[2mms[22m[39m [33m[2m✓[22m[39m saves pending permission changes [33m 1917[2mms[22m[39m [32m✓[39m components/numbering/__tests__/manual-override-form.test.tsx [2m([22m[2m12 tests[22m[2m)[22m[33m 4516[2mms[22m[39m [33m[2m✓[22m[39m should render form with all required fields [33m 647[2mms[22m[39m [33m[2m✓[22m[39m should render with default projectId from props [33m 402[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty project [33m 520[2mms[22m[39m [33m[2m✓[22m[39m should show validation error for empty originator [33m 367[2mms[22m[39m [33m[2m✓[22m[39m should submit form with valid data [33m 523[2mms[22m[39m [33m[2m✓[22m[39m should show error toast on submission failure [33m 484[2mms[22m[39m [33m[2m✓[22m[39m should disable submit button while loading [33m 382[2mms[22m[39m [33m[2m✓[22m[39m should reset form after successful submission [33m 350[2mms[22m[39m [32m✓[39m components/correspondences/tag-manager.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 2694[2mms[22m[39m [33m[2m✓[22m[39m ควรเรียก remove mutation เมื่อคลิกปุ่มลบ tag และมีสิทธิ์แก้ไข [33m 1532[2mms[22m[39m [33m[2m✓[22m[39m ควรเปิดส่วนเลือก tag และแสดง tag ที่พร้อมให้เพิ่มเมื่อคลิก Add Tag [33m 667[2mms[22m[39m [32m✓[39m components/common/__tests__/pagination.test.tsx [2m([22m[2m6 tests[22m[2m)[22m[33m 3627[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์ข้อมูลหน้าปัจจุบัน หน้าทั้งหมด และรายการทั้งหมดสำเร็จ [33m 1951[2mms[22m[39m [33m[2m✓[22m[39m ควร disable ปุ่ม Previous เมื่ออยู่หน้าแรก [33m 354[2mms[22m[39m [33m[2m✓[22m[39m ควร disable ปุ่ม Next เมื่ออยู่หน้าสุดท้าย [33m 354[2mms[22m[39m [33m[2m✓[22m[39m ควรเปลี่ยนหน้าเมื่อคลิกปุ่ม Next [33m 370[2mms[22m[39m [33m[2m✓[22m[39m ควรเปลี่ยนหน้าเมื่อคลิกหมายเลขหน้าโดยตรง [33m 329[2mms[22m[39m [32m✓[39m components/search/__tests__/filters.test.tsx [2m([22m[2m7 tests[22m[2m)[22m[33m 4864[2mms[22m[39m [33m[2m✓[22m[39m ควร render filters card [33m 492[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง Document Type checkboxes [33m 542[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง Status checkboxes [33m 523[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง active count badge เมื่อมี filters [33m 2162[2mms[22m[39m [33m[2m✓[22m[39m ควรแสดง Clear all filters button เมื่อมี active filters [33m 703[2mms[22m[39m [32m✓[39m components/workflows/__tests__/dsl-editor.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 3884[2mms[22m[39m [33m[2m✓[22m[39m calls workflowApi.validateDSL when Validate button is clicked [33m 2326[2mms[22m[39m [33m[2m✓[22m[39m calls onValidationChange(true) when validation returns errors [33m 416[2mms[22m[39m [33m[2m✓[22m[39m calls onValidationChange(false) when validation returns valid [33m 475[2mms[22m[39m [33m[2m✓[22m[39m calls onValidationChange(true) on server error [33m 409[2mms[22m[39m [32m✓[39m components/admin/ai/__tests__/prompt-version-history.test.tsx [2m([22m[2m2 tests[22m[2m)[22m[33m 3074[2mms[22m[39m [33m[2m✓[22m[39m renders loading and empty states [33m 617[2mms[22m[39m [33m[2m✓[22m[39m renders versions and triggers version actions [33m 2427[2mms[22m[39m [32m✓[39m components/layout/__tests__/navbar.test.tsx [2m([22m[2m5 tests[22m[2m)[22m[33m 4531[2mms[22m[39m [33m[2m✓[22m[39m ควรเรนเดอร์ header ได้ถูกต้อง [33m 3224[2mms[22m[39m [33m[2m✓[22m[39m ควรเรียก toggleSidebar เมื่อคลิกปุ่ม menu [33m 726[2mms[22m[39m stderr | components/layout/__tests__/layout-widgets.test.tsx > layout widgets > ProjectSwitcher ควรเลือก project และ global ได้ In HTML,