Eliminate DOCREV_E2E_BASE_URL dual gating by deleting the one-assert smoke spec covered by document-revision-runtime UI-10, and expose per-spec scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
1.5 KiB
Markdown
21 lines
1.5 KiB
Markdown
# Playwright E2E 入口矩阵
|
||
|
||
默认 `playwright test` / `npm run test:e2e:list` 只枚举用例,**不实跑**(各 spec 内部有门禁 skip)。
|
||
|
||
| Spec | 门禁变量 | npm 脚本 | 备注 |
|
||
|------|----------|----------|------|
|
||
| `document-revision-runtime.spec.ts` | `RUN_UI_ACCEPTANCE=1` | `npm run test:ui-acceptance` | 主 UI-acceptance(含版本历史 UI-10) |
|
||
| `admin-console.spec.ts` | `RUN_UI_ACCEPTANCE=1` | `npm run test:e2e:admin-console` | 需管理员账号 |
|
||
| `controlled-document-reload.spec.ts` | `RUN_UI_ACCEPTANCE=1` | `npm run test:e2e:controlled-document-reload` | |
|
||
| `governance-action-level-authz.spec.ts` | `RUN_UI_ACCEPTANCE=1` | `npm run test:e2e:governance-action-level-authz` | |
|
||
| `intent-plan-cards.spec.ts` | `RUN_UI_ACCEPTANCE=1` | `npm run test:e2e:intent-plan-cards` | |
|
||
| `project143-regression.spec.ts` | `RUN_UI_ACCEPTANCE=1` | `npm run test:e2e:project143-regression` | 项目 143 只读 |
|
||
| `workflow-plan-409-frozen-duties.spec.ts` | `RUN_UI_ACCEPTANCE=1` | `npm run test:e2e:workflow-plan-409-frozen-duties` | |
|
||
| `conversation-intent-dual-tab.spec.ts` | `INTENT_DUAL_TAB=1` | `npm run test:e2e:conversation-intent-dual-tab` | 独立双标签风险口径 |
|
||
|
||
约定:
|
||
|
||
- `playwright test --list` 期望:**29 tests in 8 files**(Wave 3 退役冗余 `document-revision.spec.ts` / 消灭 `DOCREV_E2E_BASE_URL`)。
|
||
- 新增 spec 必须同时补本表与 `package.json` 脚本。
|
||
- 不升 `MULTI_INTENT_PLAN_TIER`;不触碰项目 143 写路径。
|