Browse Source

report(test): web-4091 12-02 1352 Jest有界子集 21PASS/22FAIL全承袭代码型 静态探活health/admin/frontend恢复200 G-304-1承袭未实测

E2E Test Bot 12 hours ago
parent
commit
b35cb785db
1 changed files with 91 additions and 0 deletions
  1. 91 0
      docs/tdd/orchestration/report-exec-web-4091-2026-12-02-1352.md

+ 91 - 0
docs/tdd/orchestration/report-exec-web-4091-2026-12-02-1352.md

@@ -0,0 +1,91 @@
+# web-4091 双端 Jest 有界子集 + 静态探活 — 2026-12-02 13:52
+
+## 一、硬守卫 & 环境探针
+
+| 项 | 结果 |
+|----|------|
+| HEAD / origin/cfclub | 2df6fc7ed / 2df6fc7ed 同步 ✅ |
+| tracked 脏 | 0 ✅ |
+
+**静态探活**:
+
+| 端点 | 状态 |
+|------|------|
+| `https://cfc.iwintrue.com/` | 404(小程序落地页,预期) |
+| `https://cfc.iwintrue.com/admin/` | 200 ✅ |
+| `https://cfc.iwintrue.com/frontend/` | 200 ✅ |
+| `POST https://cfc.iwintrue.com/api/system/health` | 200 `{"code":200,"data":{...}}` ✅ |
+| `http://127.0.0.1:9082/actuator/health` | 连接拒绝(本机后端未启动,符合铁律"不擅自重启") |
+
+---
+
+## 二、Jest 套件实测
+
+### cfc-frontend
+
+| 套件 | 命令 | 结果 |
+|------|------|------|
+| `team-invite-share.test.js` | `npx jest __tests__/specs/team-invite-share.test.js --no-cache` | **7/7 PASS** ✅ |
+| `report-upload-guide-config.test.js` | `npx jest __tests__/specs/report-upload-guide-config.test.js --no-cache` | **5 PASS / 16 FAIL** ❌ |
+
+### cfc-web
+
+| 套件 | 命令 | 结果 |
+|------|------|------|
+| `Dashboard.kpiNewTotal.contract.spec.js` | `npx jest src/__tests__/views/Dashboard.kpiNewTotal.contract.spec.js` | **9/9 PASS** ✅ |
+| `Dashboard.cardTitleWrap.contract.spec.js` | `npx jest ...cardTitleWrap...` | **2 FAIL** ❌ |
+| `FamilyWorkbench.workbenchRedesign.contract.spec.js` | `npx jest ...workbenchRedesign...` | **4 FAIL** ❌ |
+
+**合计**:21 PASS / 22 FAIL / 0 SKIP
+
+---
+
+## 三、红例清单(断言原文 + 归因)
+
+### report-upload-guide-config(16 红 · 承袭·代码型)
+
+1. `Expected: "function", Received: "undefined"` ×3 — 方法未实现
+2. `/v-for="[^"]*\bsortedGuideTypes\b/` — 模板缺 sortedGuideTypes v-for
+3. `/class="guide-buy"[^>]*v-if="item\.linkedProductId"/` — linkedProductId 绑定缺失
+4. `not /class="guide-link"/` — 遗留 guide-link class
+5. `not /linked-products-section/` — 关联商品区仍存在(与 §①去掉底部关联商品区矛盾)
+6. 其他类似断言(共 16 条)
+
+**归因:代码型**。TDD RED 阶段用例,生产实现未完成。连续 ≥3 轮同结果,本轮回测数字一致(16 红),属**承袭·代码型未修**。
+
+### Dashboard.cardTitleWrap(2 红 · 代码型)
+
+1. `Expected pattern: /min-width:\s*0/, Received string: ""`
+2. `Expected pattern: /white-space:\s*normal/, Received string: ""`
+
+**归因:代码型**。CSS 属性断言失败,实现侧样式缺失。**承袭·代码型**。
+
+### FamilyWorkbench.workbenchRedesign(4 红 · 代码型)
+
+1. `Expected: true, Received: false` — 某 DOM 元素未出现
+2. `Expected value: "is-empty", Received array: ["wb-kpi-item"]` — KPI 空态 class 缺失
+3. `Expected: 6, Received: 0`(×2)— `.wb-kpi-skeleton` 骨架块数量为 0 而非预期 6
+
+**归因:代码型**。workbenchRedesign 功能契约测试,Skeleton/empty-state 未落地。**承袭·代码型**(本轮 4 红,与上轮一致)。
+
+---
+
+## 四、blocker 健康判定
+
+| blocker | health 信号 | 窗口 src 命中 | 裁决 |
+|---------|------------|--------------|------|
+| G-304-1(跨家庭越权 5 点位) | ⚠️ c71a518cf 为 SC-P-84 share.link.generate,非 task-checkin/task-flow 域;health 恢复但定向 src=0 | 0(share 域非 task-checkin 域) | **承袭·未实测** |
+| B-260-1(法务页 404) | admin/frontend 已恢复 200;但 `/web/privacy.html`、`/web/agreement.html` 未探针(任务指定不跑) | 0 | **承袭·未实测** |
+| B-325-1 | 未在 blockers.md 定位,无近期相关提交 | — | — |
+
+---
+
+## 五、commit sha
+
+**本轮留存**:`2df6fc7ed`(HEAD = origin/cfclub,已 rebase 最新)
+
+---
+
+## 六、一句话总结
+
+静态探活健康环恢复(admin/frontend/health API 全 200,本机 9082 停机符合铁律);双端 Jest 有界子集 21 PASS / 22 FAIL,全部 22 红均为承袭代码型(report-upload-guide-config 16 / cardTitleWrap 2 / FamilyWorkbench skeleton 4),G-304-1 窗口无定向修复提交,继续承袭·未实测。