Files
huike-e2e-moicen/tests
weli 8e3f61afeb test: add HTTP smoke tests for public-packages API (anti-regression for nginx proxy)
The admin.moicen.com nginx must proxy /api/v1/clazz/ to htykc:3002.
Without it, the API returns SPA index.html instead of JSON, causing
"接口返回了页面而非 JSON" errors in the frontend.

Tests verify:
- public-packages API returns Content-Type: application/json
- Response body has valid structure with package fields

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 09:30:36 +08:00
..