Skip to content

MK admin2 Functional Test Report — 2026-07-20

  • Classification: OBSERVED-FACT
  • Captured: 2026-07-20, local browser and DB test session
  • Does not own: current Runtime fact, ongoing test procedure or task status

  • Environment: local http://127.0.0.1:8080, DB kyle-mba:3306/prod

  • Account / workspace: admin2, MK workspace
  • Scope: menu/read, Commercial/Booking CRUD, Inbound→Lot, allocation, atomic save/rollback, Scale, Export Brokerage PDF AI extraction, correction, generation and cancellation, rate CRUD, Booking preview, Outbound Cost, Packing Rate restore
  • Not run: production DB writes, real scale equipment

Passed

Checklist Result Evidence
Shared menus PASS 15 routes were exposed in the admin2 menu and all loaded with HTTP 200 after login, without any business write. console/page errors 0.
Negative authentication PASS admin2 login with an invalid local password was rejected, and a protected Daily Dashboard route in the same browser context redirected back to the login screen.
R-01 to R-14 PASS (route/load + control) Confirmed the Daily Dashboard, Commercial/Inbound/Doortrade/Export/Outbound/Booking, Schedule/Allocation, Scale/Scale Ticket, Trade/Daily Commodity, Commodity/Freight Rate routes and, on each screen, a Date/keyword/type/range/refresh/month-load control or a table host. Page errors 0. The Rate screens have no page-level filter, so only host load was confirmed there. Row/detail field comparison remains inside the business-scenario evidence scope.
C-02 PASS Created Inbound 154053 → completed Warehouse Only → read back transload 119409 in UNLOADED and OPEN lot 297263. Quantity 1, weight 10, LB, rate 0, allocation/ledger/placement/scale ticket 0. Cleanup finished with re-reads of order/item/transload/lot all at 0.
C-06 PASS On Inbound 154054, an atomic save that edits the header and deletes an item succeeded. An atomic save with an invalid item was rolled back entirely with HTTP 400 and the existing header/item were preserved. Detail read back empty after the API delete.
C-04 (preview) PASS (read-only) Opened the Packing List preview from Booking List, with write 0 and console/page errors 0.
C-04 (CRUD) PASS Created Booking 57303 → read back Detail → edited vessel/container quantity and remark → read back Detail. After confirming the run-owned row had 0 linked runtime rows, it was soft-deleted and active is 0.
C-05 PASS Invalid Due Date, a foreign soft-deleted link, a self link and a duplicate order number were all rejected with HTTP 400. After soft-deleting the self/duplicate disposable rows, active is 0.
C-07 PASS On a run-owned lot, an overdraw of 11 lb was rejected with HTTP 400, allocation stayed 0 and the balance stayed at 10 lb; a foreign lot was also rejected with HTTP 400 and no change. Re-applying the same 1 lb produced 2 allocations and moved the lot 10→8, which was confirmed before both allocations were removed and the lot restored 8→10.
S-01 PASS On Purchase 154061, ran Scale check-in GROSS 120 lb → check-out TARE 20 lb → Warehouse Only finalize. After reading back ticket 158594, transload 119411, item 120/20/100 and OPEN lot 100 lb, the run-owned rows were cleaned up.
Browser runtime PASS In a separate in-app browser, MK workspace, Scale Portal, Booking List and #mkBookingListTablePanel/#bookingListTableHost were displayed. Console errors 0.
C-01 PASS After fixing sequence calculation to include soft-deleted numbers, confirmed creation, linking, edit read-back and deletion on Sales 17 and Purchase 18.
C-03 PASS On Outbound 154060 and run-owned lot 297266, applied and read back 1 item/allocation with the lot moving 10→9, then deleted the allocation and restored 9→10. After the outbound API delete, active order/item/equipment-load are 0.
S-02 PASS Uploaded the synthetic PDF WP08-18-1784564704734-905949 on the admin2 Export Brokerage screen and ran AI extraction, confirming the PDF analyzed. state and the reference mapping. An operator review corrected the MK vendor, customer, commodity, rate, UOM and line, then created the Local job in the UI and read back inbound 154075, outbound 154076 and 1 allocation. After cancelling, active order/allocation is 0/0. The existing Local create/cancel fixture 154069/154070 is also cleaned up.
S-03 PASS Created Commodity Rate 106 at 1.25 LB → edited to 2.5 → read back the list → deleted it, and confirmed active 0.
S-04 PASS Created Freight Rate 697 at 10 → edited to 20 → read back the list → deleted it, and confirmed active 0.
S-05 PASS On run-owned outbound 154074, created Outbound Cost AP 12.34 → updated to 23.45 → deleted it. Each API re-read confirmed the CREATED header and the exact line amount, and the OUTBOUND_AP_COST_AMOUNT=23.45 projection in Trade Summary was compared. After the delete, cost transactions are 0 and active outbound/booking is 0.
S-06 (7 documents) PASS (render + field parity + output binding) Rendered Booking Confirmation for Booking 57185, MK Packing List, Legacy Packing List, Purchase Local Invoice for inbound 152495, Sales Weight Ticket for outbound 152553, physical Scale Ticket 156979, and the run-owned FBOL delivery 207413, all with HTTP 200. Compared Booking Confirmation party/header, the Local Invoice and Sales Ticket header plus every line's commodity/UOM/rate/weight/amount, the physical Ticket's party/reference/equipment/commodity and per-axis gross/tare/net, and the FBOL's differing MK carrier/shipper/consignee against the source. The FBOL fixture was cleaned up to active 0, and the Packing Invoice UI on Booking 57305 passed the LB rate 1.25 → 2.5 → 1.25 autosave and read-back. The window.print() binding of the MK/Legacy Packing List and Scale Ticket, and the Excel export URL and auth response bytes of the Legacy Packing List, were also confirmed. No real spool or file save was performed.

Remaining

Checklist State Reason

Artifacts

  • output/playwright/mk-admin2-menu-read-2026-07-20.png
  • output/playwright/wp07-04-mk-booking-list-menu.png
  • output/playwright/wp07-05-mk-inbound-purchase-lot-154053.png
  • output/playwright/wp08-19-atomic-save-154054.png

Source: docs/research/mk/2026-07-20/MK_ADMIN2_FUNCTIONAL_TEST_REPORT.md — ctc repository · This page is an English translation of the source document. Identifiers, file paths and code symbols are unchanged.