811eb97fbf
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.
1.1 KiB
1.1 KiB
2026-06-04 — L4 本地 Playwright 全站验收通过
摘要
安装 Playwright Chromium 后,本地 http://127.0.0.1:8600 运行 run_nexus_acceptance.py --with-ui:55 通过 / 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_api:
tests/test_api.py - extended_api:
tests/test_full_site_api.py - playwright_ui:
e2e/full-acceptance.spec.mjs(15 用例 serial)
结论
L4 本地验收 PASS。生产 L5 仍须用户批准后单独执行。
进度:☑实现 ☑本地验证 ☑审计8步 □部署 □健康检查 ☑浏览器验证 ☑changelog