Repository navigation
Commit de2a2e4
test(app-shell): carry the current flow clone notice in the PackagedAutomationPage fixture (#28300)
domain:ui#5 · os-sales · session_01L6bhgUhKx1XHzkoikGjRB4
<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuJSyZAA88UvC1TbJJXdgoi2)_
Fixes #28073
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 改了什么:`PackagedAutomationPage.test.tsx` 里的 `CLONE_NOTICE` 夹具换成服务端
`FLOW_CLONE_NOTICE` 的当前单行文案。
- 为什么改:#28072 已把服务端提示改成一句话,夹具仍是旧的七句话,测试读到的不是服务端实际发送的内容。
- 风险与回滚:仅测试夹具,不发布、不影响运行时;回滚即还原这一个字符串。
-
先看:`ui/packages/app-shell/src/views/setup/PackagedAutomationPage.test.tsx`
约 L100-103,唯一的 hunk。
- 两分钟验证:在 `ui/` 目录执行 `pnpm exec vitest run
packages/app-shell/src/views/setup/PackagedAutomationPage.test.tsx`,预期
31 个测试全绿。
- 需要你做的:无,席位落地。
## What changes
The `CLONE_NOTICE` fixture now carries exactly the text of
`FLOW_CLONE_NOTICE` in `packages/runtime/src/flow-clone.ts` (one line).
It stays a literal copy: `@object-ui/app-shell` does not depend on
`@objectstack/runtime`, and a test-only import would add a new
dependency edge.
## Tests
- `pnpm exec vitest run
packages/app-shell/src/views/setup/PackagedAutomationPage.test.tsx` from
`ui/`: 1 file, 31 tests passed.
- `node scripts/check-sdui-manifest.mjs`: exit 0.
## Acceptance notes
Test-only change in a private package; no changeset (skip-changeset
declared at pr_create).
## Verification
Derived gate commands run from the worktree; see the card report for
exit codes.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01L6bhgUhKx1XHzkoikGjRB4)_
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01L6bhgUhKx1XHzkoikGjRB4
Co-authored-by: Claude <noreply@anthropic.com>1 parent b339465 commit de2a2e4
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 102 | + | |
| 103 | + | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
| |||
0 commit comments