w-api-test
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTest endpoints through the public interface using this repo's API or Playwright harness. Do not hit production. Do not hardcode secrets.
- Read the API testing MDX and existing or e2e specs.
*.test.ts - Cover the requested operations, authz denials, and contract-shaped responses.
- Use sandbox or local servers from package scripts. Clean up created resources.
- Run the documented API or e2e command for those tests.
- Docs: if behavior or commands changed.
/w-docs
通过公共接口,使用本仓库的 API 或 Playwright 测试工具测试各个端点。不要访问生产环境。不要硬编码密钥。
- 阅读 API 测试 MDX 以及现有的 或 e2e 测试规范。
*.test.ts - 覆盖所请求的操作、授权拒绝以及符合契约结构的响应。
- 使用 package scripts 中的沙箱或本地服务器。清理已创建的资源。
- 为这些测试运行文档中指定的 API 或 e2e 命令。
- 文档:如果行为或命令发生变化,请更新 。
/w-docs