MeshiTrack/packages/web/test-output.txt

178 lines
34 KiB
Text
Raw Permalink Normal View History

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