Files
Nexus/docs/changelog/2026-06-04-l4-local-playwright-pass.md
T
Nexus Deploy 811eb97fbf chore: Ubuntu local dev scripts, deploy gate, and audit changelogs
Rename WSL helpers to Linux-native scripts, expose Redis in docker-compose,
prefer .venv tools in pre_deploy_check, and record 2026-06-04 audit waves.
2026-06-04 23:02:21 +08:00

1.1 KiB
Raw Blame History

2026-06-04 — L4 本地 Playwright 全站验收通过

摘要

安装 Playwright Chromium 后,本地 http://127.0.0.1:8600 运行 run_nexus_acceptance.py --with-ui55 通过 / 0 失败17/17 功能模块正常。

动机

插件驱动审计计划 L4 里程碑:API + Playwright 15 路由抽测。

前置

  • API 已运行:curl http://127.0.0.1:8600/health → ok
  • 首次失败原因:未执行 npx playwright install chromium
  • 修复:cd frontend && npx playwright install chromium

命令

bash scripts/start-dev.sh   # 若 API 未起
cd frontend && npx playwright install chromium   # 首次
python3 scripts/run_nexus_acceptance.py --base http://127.0.0.1:8600 --with-ui

覆盖

  • core_apitests/test_api.py
  • extended_apitests/test_full_site_api.py
  • playwright_uie2e/full-acceptance.spec.mjs15 用例 serial

结论

L4 本地验收 PASS。生产 L5 仍须用户批准后单独执行。

进度:☑实现 ☑本地验证 ☑审计8步 □部署 □健康检查 ☑浏览器验证 ☑changelog