feat: implement TASK-WP1-02 login sessions

This commit is contained in:
suyx
2026-07-28 16:28:30 +08:00
parent f467e7c09f
commit ee70001d44
20 changed files with 2480 additions and 28 deletions
+4 -2
View File
@@ -14,7 +14,7 @@
"test:integration": "vitest run tests/integration",
"test:api": "pnpm check:openapi && vitest run tests/api",
"test:worker": "pnpm --filter @dada/worker build && node scripts/worker-smoke.mjs && vitest run tests/worker",
"test:e2e": "pnpm check:openapi && playwright test tests/e2e/event-sync.spec.ts tests/e2e/support-gate.spec.ts tests/e2e/local-data-boundary.spec.ts tests/e2e/storage-capacity.spec.ts tests/e2e/public-asset-cache.spec.ts --config playwright.config.ts",
"test:e2e": "pnpm check:openapi && playwright test tests/e2e/event-sync.spec.ts tests/e2e/support-gate.spec.ts tests/e2e/local-data-boundary.spec.ts tests/e2e/storage-capacity.spec.ts tests/e2e/public-asset-cache.spec.ts tests/e2e/user-auth.spec.ts tests/e2e/entry-state-ui.spec.ts tests/e2e/session-invalid-ui.spec.ts --config playwright.config.ts",
"test:visual": "node scripts/validate-layer-scope.mjs VISUAL",
"test:performance": "node scripts/validate-layer-scope.mjs PERFORMANCE",
"test:security": "node scripts/verify-frozen-dependencies.mjs && node scripts/redaction-scan.mjs",
@@ -41,7 +41,9 @@
"test:wp0-09": "node scripts/run-wp0-09-validation.mjs",
"test:wp0-09:red": "node scripts/run-wp0-09-validation.mjs --phase red",
"test:wp1-01": "node scripts/run-wp1-01-validation.mjs",
"test:wp1-01:red": "node scripts/run-wp1-01-validation.mjs --phase red"
"test:wp1-01:red": "node scripts/run-wp1-01-validation.mjs --phase red",
"test:wp1-02": "node scripts/run-wp1-02-validation.mjs",
"test:wp1-02:red": "node scripts/run-wp1-02-validation.mjs --phase red"
},
"devDependencies": {
"@playwright/test": "1.62.0",