merge: 修正 HWPOD L1 页面验收配置

This commit is contained in:
pikastech
2026-07-21 13:57:48 +02:00
2 changed files with 40 additions and 2 deletions
+36 -2
View File
@@ -1007,10 +1007,44 @@ templates:
screenshotName: native-hwpod-ready.png screenshotName: native-hwpod-ready.png
layout: layout:
requireNoDocumentOverflow: true requireNoDocumentOverflow: true
requireNoMainContentOverflow: false requireNoMainContentOverflow: true
mainContentSelector: .platform-content mainContentSelector: .platform-content
internalScrollSelectors: internalScrollSelectors:
- .platform-content - .bounded-workspace-main
outputLimits:
errors: 20
failedResponses: 20
textPreviewChars: 160
hwpod-onboarding:
application: hwpod
authentication: none
path: /hwpods/onboarding
navigationTimeoutMs: 30000
settleMs: 700
commandTimeoutSeconds: 120
viewport:
width: 1920
height: 1080
readySelectors:
- "[data-testid='hwpod-console']"
- .platform-sidebar
minBodyTextLength: 40
interaction:
selector: .desktop-sidebar-toggle
observedSelector: .platform-sidebar
observedAttribute: data-collapsed
failedResponseStatus: 400
criticalPathPrefixes:
- /v1/hwpod
- /v1/hwlab-node
- /health/ready
screenshotName: native-hwpod-onboarding-ready.png
layout:
requireNoDocumentOverflow: true
requireNoMainContentOverflow: true
mainContentSelector: .platform-content
internalScrollSelectors:
- .bounded-workspace-main
outputLimits: outputLimits:
errors: 20 errors: 20
failedResponses: 20 failedResponses: 20
+4
View File
@@ -125,6 +125,10 @@ HWLAB v0.2/v0.3 仓库内 `docs/reference/spec-*`,以及已收编的 `cloud-wo
- 不得成为 L1 启动、执行或完成条件; - 不得成为 L1 启动、执行或完成条件;
- 浏览器验收统一使用 - 浏览器验收统一使用
`bun scripts/cli.ts web-probe native-readiness --node <node> --lane <lane> --profile hwpod` `bun scripts/cli.ts web-probe native-readiness --node <node> --lane <lane> --profile hwpod`
- 节点接入页专项验收使用同一受控入口的 `hwpod-onboarding` profile
- 固定访问 `/hwpods/onboarding`
-`/v1/hwlab-node` 纳入关键失败响应;
- 要求 AppShell 主内容不滚动,只允许 `.bounded-workspace-main` 内部滚动;
- HWPOD Web 无业务登录页时,由 owning YAML profile 声明 `authentication: none`,不得改用临时 Playwright 脚本或弱化浏览器错误断言。 - HWPOD Web 无业务登录页时,由 owning YAML profile 声明 `authentication: none`,不得改用临时 Playwright 脚本或弱化浏览器错误断言。
- native API 已接受操作且 Temporal workflow 已创建时,后续公共 - native API 已接受操作且 Temporal workflow 已创建时,后续公共
`/v1/hwpod-node-ops` 失败必须分类为外部 Cloud API 或 node 运行面故障, `/v1/hwpod-node-ops` 失败必须分类为外部 Cloud API 或 node 运行面故障,