MeshiTrack/packages/web/test-output.txt
2026-05-14 19:59:42 +09:00

177 lines
34 KiB
Text
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.


 RUN  v4.1.2 F:/Coding/MeshiTrack/packages/web
Γ¥» src/app/(dashboard)/products/__tests__/ImportDialog.test.tsx (11 tests | 1 failed) 844ms
Γ£ô renders nothing when closed 31ms
Γ£ô renders Import Products title when open  324ms
Γ£ô shows file chooser button 48ms
 × shows error when upload clicked without file 94ms
Γ£ô shows file name after selection 52ms
Γ£ô uploads file and shows success result 77ms
Γ£ô shows errors in result 53ms
Γ£ô shows error on import failure 36ms
Γ£ô shows fallback error on non-Error rejection 45ms
Γ£ô closes dialog via Cancel button 18ms
Γ£ô closes dialog via Close button after result 59ms
Γ£ô src/app/(dashboard)/medicines/__tests__/page.test.tsx (3 tests) 321ms
Γ£ô src/app/(dashboard)/medicines/organizer/__tests__/page.test.tsx (3 tests) 241ms
Γ£ô src/app/(dashboard)/medicines/library/__tests__/page.test.tsx (3 tests) 260ms
Γ£ô src/app/(dashboard)/medicines/activity/__tests__/page.test.tsx (3 tests) 261ms
Γ£ô src/components/__tests__/ThemeProvider.test.tsx (8 tests) 326ms
Γ£ô src/app/__tests__/page.test.tsx (2 tests) 528ms
Γ£ô renders Sign In link to /login  435ms
Γ£ô src/components/__tests__/TopBar.test.tsx (4 tests) 1133ms
Γ£ô renders title and subtitle  799ms
Γ£ô src/components/__tests__/Sidebar.test.tsx (8 tests) 1249ms
Γ£ô src/components/__tests__/ui.test.tsx (11 tests) 1049ms
Γ£ô uses custom size  483ms
Γ£ô src/app/(dashboard)/medicines/schedule/__tests__/page.test.tsx (14 tests) 1292ms
Γ£ô src/app/(dashboard)/recipes/new/__tests__/page.test.tsx (3 tests) 825ms
Γ£ô renders editor when household exists  490ms
Γ£ô src/app/(dashboard)/recipes/[id]/edit/__tests__/page.test.tsx (4 tests) 772ms
Γ£ô renders editor when recipe loads  388ms
Γ£ô src/app/(dashboard)/dashboard/__tests__/page.test.tsx (13 tests) 1915ms
Γ£ô renders heading  357ms
Γ£ô src/app/(dashboard)/recipes/[id]/__tests__/page.test.tsx (11 tests) 1605ms
Γ£ô renders recipe details  372ms
Γ£ô src/app/(dashboard)/recipes/__tests__/page.test.tsx (22 tests) 2277ms
Γ£ô renders recipe list when household exists  307ms
Γ£ô src/app/(dashboard)/pantry/__tests__/page.test.tsx (15 tests) 2377ms
Γ£ô shows loading skeleton when session is loading  417ms
Γ£ô renders pantry items when household exists  324ms
Γ£ô src/app/(dashboard)/recipes/__tests__/RecipeEditor.test.tsx (9 tests) 2849ms
Γ£ô renders create form by default  727ms
Γ£ô submits create form  367ms
Γ£ô shows error when create fails  365ms
Γ£ô src/app/(dashboard)/products/__tests__/page.test.tsx (11 tests) 3157ms
Γ£ô renders products when household exists  437ms
Γ£ô filters by search input with debounce  500ms
Γ£ô filters by category dropdown  578ms
Γ£ô deletes product on confirm  387ms
Γ£ô shows error when delete fails  356ms
Γ£ô src/app/(dashboard)/medicines/__tests__/ActivityTab.test.tsx (18 tests) 3222ms
Γ£ô renders Spending Summary and Cabinet Activity sections  454ms
Γ£ô shows clear filters button when filter applied and clears them  757ms
Γ£ô loads more events when Load more is clicked  307ms
Γ£ô src/app/(dashboard)/medicines/__tests__/OrganizerTab.test.tsx (20 tests) 3588ms
Γ£ô shows fill organizer and fill history sections  303ms
Γ£ô shows preview result and executes fill  828ms
Γ£ô src/app/(dashboard)/medicine-prices/__tests__/page.test.tsx (15 tests) 4527ms
Γ£ô loads price history when medicine selected  890ms
Γ£ô shows validation error in form when required fields missing  570ms
Γ£ô records a price successfully  381ms
Γ£ô shows Load more button in price history  357ms
Γ£ô dismisses price history error  333ms
Γ£ô changes medicine search, notes and insurance price fields in form  341ms
Γ£ô toggles Record Price form  408ms
Γ£ô src/app/(dashboard)/purchases/__tests__/page.test.tsx (26 tests) 5626ms
Γ£ô toggles the create form  610ms
Γ£ô shows validation error when no store selected  447ms
Γ£ô shows validation error when no items  335ms
Γ£ô creates a purchase successfully  483ms
Γ£ô cancels the create form  383ms
Γ£ô adds and removes purchase items  669ms
Γ£ô selects a medicine and product in the form  349ms
Γ£ô src/app/(dashboard)/settings/__tests__/page.test.tsx (20 tests) 7860ms
Γ£ô shows loading skeleton when loading  317ms
Γ£ô shows account section always  846ms
Γ£ô creates a household on form submit  542ms
Γ£ô shows error when create fails  324ms
Γ£ô allows editing the household name  883ms
Γ£ô shows error when name update fails  780ms
Γ£ô shows fallback error when non-Error thrown on create household  492ms
Γ£ô shows fallback error when non-Error thrown on join household  510ms
Γ£ô shows fallback error when non-Error thrown on name update  764ms
Γ£ô shows validation error when saving empty name  391ms
Γ£ô src/app/(dashboard)/medicines/__tests__/LibraryTab.test.tsx (14 tests) 4938ms
Γ£ô shows loading skeleton initially  355ms
Γ£ô dismisses error on Dismiss click  677ms
Γ£ô toggles Add Medicine form  304ms
Γ£ô creates medicine and refreshes list  1182ms
Γ£ô cancels CreateMedicineForm with internal Cancel button  437ms
Γ£ô shows fallback error when non-Error is thrown on create medicine  785ms
Γ£ô src/app/(dashboard)/stores/__tests__/page.test.tsx (22 tests) 5992ms
Γ£ô shows Add Store form when button clicked  802ms
Γ£ô cancels the create store form  481ms
Γ£ô cancels the edit store form  663ms
Γ£ô toggles a preset tag and adds a custom tag  1172ms
Γ£ô src/app/(dashboard)/medicines/regimens/__tests__/page.test.tsx (3 tests) 245ms
Γ£ô src/app/(dashboard)/__tests__/layout.test.tsx (1 test) 148ms
Γ£ô src/app/(dashboard)/medicines/cabinet/__tests__/page.test.tsx (3 tests) 256ms
Γ£ô src/app/(dashboard)/medicines/__tests__/RegimensTab.test.tsx (32 tests) 7208ms
Γ£ô dismisses error  703ms
Γ£ô toggles new regimen form  416ms
Γ£ô saves edited regimen  326ms
Γ£ô shows validation error when submitting regimen form with no medications  358ms
Γ£ô cancels edit form and hides it  639ms
Γ£ô adds a medication in the regimen form  338ms
Γ£ô changes medicine, dosage, and unit in medication row  432ms
Γ£ô shows fallback error when non-Error thrown on create regimen  358ms
Γ£ô src/app/(dashboard)/refills/__tests__/page.test.tsx (26 tests) 7168ms
Γ£ô shows New List button and toggles form  753ms
Γ£ô creates a new refill list  327ms
Γ£ô shows refill list and can select it  415ms
Γ£ô updates a refill list status  489ms
Γ£ô adds checked items to cabinet  485ms
Γ£ô cancels create list form  543ms
Γ£ô closes the refill list detail panel  328ms
Γ£ô dismisses panel-level error  420ms
Γ£ô src/lib/__tests__/useApi.test.ts (7 tests) 106ms
Γ£ô src/services/__tests__/api-client.test.ts (14 tests) 51ms
Γ£ô src/services/__tests__/products.test.ts (12 tests) 33ms
Γ£ô src/app/(dashboard)/__tests__/loading.test.tsx (1 test) 83ms
Γ£ô src/app/(dashboard)/medicines/__tests__/CabinetTab.test.tsx (29 tests) 7516ms
Γ£ô shows empty state when no items  415ms
Γ£ô dismisses error on Dismiss click  574ms
Γ£ô toggles Add to Cabinet form  309ms
Γ£ô adjusts item quantity  344ms
Γ£ô expands medicine in summary view  311ms
Γ£ô submits AddToCabinetForm successfully  410ms
Γ£ô submits AddToCabinetForm with expiration date and notes  426ms
Γ£ô changes quantity and unit in AddToCabinetForm  365ms
Γ£ô switches from detail view back to summary view  428ms
Γ£ô src/app/(dashboard)/medicines/[id]/__tests__/page.test.tsx (34 tests) 7648ms
Γ£ô toggles Add Product form  1012ms
Γ£ô toggles edit medicine form  482ms
Γ£ô saves medicine edit  483ms
Γ£ô changes fields in the product edit inline form  365ms
Γ£ô changes manufacturer, concentration and notes fields in product form  405ms
Γ£ô changes all fields in edit medicine form  308ms
Γ£ô dismisses error in detail page  377ms
Γ£ô src/services/__tests__/medicines.test.ts (12 tests) 20ms
Γ£ô src/services/__tests__/cabinet-events.test.ts (7 tests) 17ms
Γ£ô src/services/__tests__/cabinet.test.ts (11 tests) 21ms
Γ£ô src/services/__tests__/stores.test.ts (6 tests) 15ms
Γ£ô src/services/__tests__/pantry.test.ts (13 tests) 26ms
Γ£ô src/services/__tests__/purchases.test.ts (7 tests) 23ms
Γ£ô src/services/__tests__/regimens.test.ts (8 tests) 16ms
Γ£ô src/services/__tests__/refills.test.ts (9 tests) 20ms
Γ£ô src/services/__tests__/recipes.test.ts (11 tests) 22ms
Γ£ô src/services/__tests__/organizer.test.ts (7 tests) 19ms
Γ£ô src/services/__tests__/medicine-prices.test.ts (7 tests) 18ms
Γ£ô src/services/__tests__/households.test.ts (5 tests) 13ms
Γ¥» src/app/(dashboard)/products/__tests__/ProductModal.test.tsx (18 tests | 4 failed) 9210ms
Γ£ô renders nothing when closed 51ms
Γ£ô renders Add Product title by default  597ms
Γ£ô renders custom title when provided 129ms
Γ£ô renders Edit Product title when initial is provided 206ms
Γ£ô pre-fills form fields from initial 211ms
Γ£ô shows error when name is empty and form submitted 293ms
Γ£ô shows error when serving size is empty 277ms
Γ£ô shows error when nutrition fields are missing 252ms
 × calls onSave with correct data on valid submit 2329ms
 × closes modal after successful save 1589ms
 × shows error when onSave rejects 1519ms
 × shows fallback error when onSave throws non-Error 1337ms
Γ£ô closes when Cancel is clicked 43ms
Γ£ô closes when backdrop is clicked 42ms
Γ£ô Lookup button is disabled when barcode is empty 41ms
Γ£ô barcode lookup fills form on success 103ms
Γ£ô barcode lookup shows not found 90ms
Γ£ô barcode lookup shows error on failure 95ms
 Test Files  2 failed | 48 passed (50)
 Tests  5 failed | 571 passed (576)
 Start at  19:43:06
 Duration  21.16s (transform 21.52s, setup 60.20s, import 45.55s, tests 98.93s, environment 336.64s)