shipping-row-gate

20260916-201504 轮 · 看它的历史
[target] clone=h8 port=20098 base=http://localhost:20098 container=wt_h8_tp8
[snapshot] 开跑前 e2e_bot 已有未付单 41 张,清理时不碰

── 夹具
  ✅ 夹具作品已创建
  ✅ 已加入购物车
  ✅ 购物车行已建
  ✅ 地址可用
  ✅ 地址明文可取(供 web 侧构造同源 ddaddress)

── G 组 守卫(合法配送行不被误伤)
  ✅ G1 caculateExpressFee postid=45(合法按重量)放行
     权威运费 fee(45) = 750 分
  ✅ G2 caculateExpressFee postid=38(合法免费)放行且 fee===0
  ✅ G3 couponPreview postid=45 的 freight_cents 严格等于 G1 的 fee
  ✅ G4 createOrder postid=45 走过费用步(报比价错而非费用错)

── D 组 拒绝(积分档 / 已下架)
  ✅ D1 caculateExpressFee postid=37(posttype=1 积分档)被拒
  ✅ D2 caculateExpressFee postid=31(poston=0 已下架)被拒
  ✅ D3 couponPreview postid=31 的 freight_cents===0(未按已下架的 500 分计)
  ✅ D4 createOrder postid=31 在费用步就被拒
  ✅ D4 未建任何订单行

── session 族(Order,PC web)
  ✅ G5 couponPreviewWeb postid=45 的 freight 严格等于 G1 的 fee
  ✅ D5 couponPreviewWeb postid=31 的 freight===0
  ✅ 结算页商品小计可用
  ✅ 前置:当前 corp 有可用支付通道(paymodeid=7)
  ✅ D6 web createOrder postid=31 不跳订单详情
  ✅ D6 且不是被支付方式白名单挡下的(那样运费闸根本没跑到)
  ✅ D6 未建任何订单行
  ✅ G6 web createOrder postid=38(合法)下单成功 302→order_detail
  ✅ G6 汇总行运费 ddprice===0(免费自提)

── 清理
  ✅ 清理:本次订单已全部取消(ddstatus→53)
  本次产生的订单 ddnum: 202609162059086726051157(已取消,行仍在库 —— 收口时另过 §1.1 授权门删除)
  ✅ 清理:本次购物车行已删干净
  ✅ 清理:夹具作品硬删成功(含 OSS 对象)

══ PASS=26  FAIL=0 ══