R74-A2 A3 A4 压榨试运行自动化空间
这个提交包含在:
@@ -261,6 +261,35 @@ docker logs -f hyb-oa-trialrun-server
|
||||
- 建议保留备用:`PAYMENT_BATCH_ENABLED=false`、`CUTOVER_CONSOLE_ENABLED=false`
|
||||
- OCR 回归环境建议:`OCR_PROVIDER=mock`
|
||||
|
||||
### 7.2A 本地 Playwright 辅助复核门禁
|
||||
1. 本地 HTTP 辅助复核先执行:
|
||||
```bash
|
||||
cd server
|
||||
TRIALRUN_RUNTIME_MODE=local node src/scripts/smoke-trialrun-runtime.js
|
||||
```
|
||||
2. 该命令会同时检查 trialrun 所需 env、feature flag、workspace setting 与导航基线。
|
||||
3. `local` 模式允许 `APP_ORIGIN` 为空、`COOKIE_SECURE` 为空或 `false`;HTTPS / 真实部署仍按 `deploy` 模式要求 `APP_ORIGIN=https://...` 且 `COOKIE_SECURE=true`。
|
||||
|
||||
### 7.2B 本地深层辅助回归命令
|
||||
```bash
|
||||
cd client
|
||||
PLAYWRIGHT_MANUAL=1 \
|
||||
R70_TRIALRUN_DEEP_ASSIST=1 \
|
||||
E2E_BASE_URL=http://127.0.0.1:3001 \
|
||||
npm run test:e2e -- tests/e2e/manual/r70-trialrun-deep-assist.spec.ts
|
||||
```
|
||||
|
||||
### 7.2C 批量真实腾讯 OCR 辅助回归命令
|
||||
```bash
|
||||
cd client
|
||||
PLAYWRIGHT_MANUAL=1 \
|
||||
PLAYWRIGHT_OCR_LIVE=1 \
|
||||
PLAYWRIGHT_OCR_LIVE_BATCH=1 \
|
||||
PLAYWRIGHT_OCR_LIVE_DIR=/abs/path/to/invoices \
|
||||
E2E_BASE_URL=http://127.0.0.1:3001 \
|
||||
npm run test:e2e -- tests/e2e/manual/live-invoice-ocr-batch.spec.ts
|
||||
```
|
||||
|
||||
### 7.3 上线前整理事项
|
||||
1. 补齐员工账号、部门、直属上级与员工档案。
|
||||
2. 核对资产卡片与实际领用关系。
|
||||
|
||||
在新工单中引用
屏蔽一个用户