Cover the admin create path in the composition e2e harness #591

Merged
weichen merged 14 commits from fix/admin-create-e2e-guard into main 2026-10-16 11:48:45 +00:00
3 changed files with 354 additions and 2 deletions
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -251,7 +251,8 @@ export PLAYWRIGHT_BASE_URL="http://127.0.0.1:$UI_PORT" E2E_OWNER="$OWNER" \
E2E_PROJECT_MAIN="$PROJ_MAIN" E2E_PROJECT_ISOLATED="$PROJ_ISO"
set +e
# 本脚本的种子只覆盖审计工作区。u7 现场验收用例依赖另一套入口,不在这里跑。
npx playwright test e2e/rdm-audit.playwright.ts --reporter=list >"$OUT/playwright.log" 2>&1
# admin-create 场景复用本种子的基座管理员账号(bootstrap-admin)。
npx playwright test e2e/rdm-audit.playwright.ts e2e/admin-user-create.playwright.ts --reporter=list >"$OUT/playwright.log" 2>&1
PW_EXIT=$?
set -e
cat "$OUT/playwright.log"