boardx / boardx/boardx-dev-template
[D3探针] board/room/widgets 域 8 个 e2e 断言的 testid 在代码中不存在(悬空断言)
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## 来源
coord-platform 2026-07-14 五维差距审计的 D3 探针(e2e getByTestId ↔ 代码 data-testid 双向 diff,含模板字面量归一化,已做灵敏度对照验证)。基准 origin/main @ b5e52ba。跨域移交给 coord-board / coord-room。
## 悬空清单(e2e 断言、apps/web 代码中静态找不到)
- `board-ai-overlay.spec.ts`: `dock-tool-select`, `dock-tool-sticky`
- `room-board-p24-management.spec.ts`: `board-menu-delete-*`, `board-menu-tags-*`(模板)
- `room-rr-005-favorite.spec.ts`: `room-favorite-toggle-*`(模板)
- `widgets-001-use-canvasx-widgets.spec.ts`: `add-shape`, `wm-lock-unavailable`, `wm-resize-unavailable`
- `widgets-004-shape-widget.spec.ts`: `add-shape`
## 为什么值得处理
p14-F04 曾因同类问题(e2e 断言从未存在的 `credit-pack-list`)假卡数周并被误诊为 Docker 资源问题(修复见 #483)。悬空断言意味着这些用例要么必然失败、要么被跳过——对应 feature 的 verification 可能名存实亡。
## 建议
逐条核对:是实现改名没同步测试,还是测试对着未实现的 UI 写的;修正后建议把探针固化进 .harness/scripts 作为常规检查(脚本逻辑见 phases/phase-p25-platform-accounts-gap2/gap-report.md 方法节)。
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Contributor guide
No contributing guide indexed for this repository
Research direction
Compare the listed specs—board-ai-overlay.spec.ts, room-board-p24-management.spec.ts, room-rr-005-favorite.spec.ts, widgets-001-use-canvasx-widgets.spec.ts, and widgets-004-shape-widget.spec.ts—with static data-testid values under apps/web. Determine whether each missing testid reflects a renamed implementation or an unimplemented UI, then update the appropriate side and verify the assertions no longer remain dangling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100