[P1] platform: Add platform-wide frontend E2E coverage
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- nodejs, playwright, typescript
- 领域
- ci-cd, frontend, testing-qa
调研方向
从 frontend/package.json 和 ADR-007 中的 route-mapping 依赖开始,然后查看 docs/modernization-plan.md,了解剩余的集成测试范围。添加 Playwright 设置、脚本、稳定路由和模拟流程的覆盖、可访问性断言,以及 CI 或文档化的执行接线。完成的标准是:列出的路由和流程均已覆盖,导航不会出现 404 或客户端错误,并且 backend tests 和 frontend lint/build 仍然通过。
由索引模型根据 Issue 内容生成。
描述
Problem inventory
The repo does not yet have a platform-wide browser E2E gate that proves the mature UI and APIM-backed flows work together from the user perspective.
Type: tech debt / regression prevention
Evidence
- frontend/package.json has dev, build, start, lint, and format scripts, but no e2e/test script.
- No Playwright configuration was found in frontend.
- docs/modernization-plan.md still lists integration tests that exercise APIM routes for all apps domains as a remaining action.
- The user requirement is to guarantee everything is working well end-to-end, not only compile.
Impact assessment
User impact: critical/high. Without browser E2E coverage, old UI regressions, broken links, APIM route mismatches, and unavailable feature flows can pass local lint/build.
Blast radius: cross-service frontend, CI/CD, APIM route contracts, and backend readiness signals.
Acceptance criteria
- Add Playwright configuration and package scripts under frontend, using pnpm and Node 22.
- Cover public front door routes: /, /programs, /evidence-trust, /institutions, /sign-in if present.
- Cover role workspace shell routes for student, professor, supervisor/principal, admin, and alumni, including role/context switching where feasible.
- Cover core user flows with stable mocked network fixtures or test environment contracts: chat, essays submission/history, questions answering/admin, configuration, upskilling, evaluation, LMS gateway, avatar/settings.
- Validate all primary navigation links resolve without 404s or unexpected client errors.
- Include accessibility-oriented assertions for labels, focus, status messages, and keyboard operability on key flows; automated checks should align with WCAG 2.2 AA where feasible.
- Add CI wiring or a documented command path so the E2E suite can run consistently before merge.
- Existing backend tests and frontend lint/build remain green.
Agent assignment
Primary specialist: PlatformEngineer
Supporting specialist: TypeScriptDeveloper
UI/accessibility validation: UIDesigner
Dependency notes
Depends on route mapping from the ADR-007 feature issue for complete route inventory. Can begin by adding infrastructure and smoke tests for currently stable routes.
Related backlog
- #161 is supervisor-specific E2E coverage; this issue is the platform-wide browser gate.
- #165 pilot validation can consume the E2E results.
- 主要语言
- Python
- 星标
- 17
- 派生
- 8
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure-Samples/tutor 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
Azure-Samples/tutor#230 ·
-
难度 4/5 3-5 天 新手友好度 45/100
Azure-Samples/tutor#229 · 1 条评论 ·
-
frontend priority:P2 type:tech-debt
难度 5/5 一周以上 新手友好度 35/100
Azure-Samples/tutor#224 · 3 条评论 ·
-
frontend priority:P1 type:feature
难度 5/5 一周以上 新手友好度 30/100
Azure-Samples/tutor#222 · 1 条评论 ·
-
frontend priority:P1 type:tech-debt
难度 5/5 一周以上 新手友好度 35/100
Azure-Samples/tutor#221 · 2 条评论 ·
查看 Azure-Samples/tutor 的全部 Issue
相似的 Issue
-
Questions crashes on a real SQuAD2 no-answer prediction可能已有人在做 @HuaTNA 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
GST is read as Gulf Standard Time (UTC+4) instead of Guam Standard Time (UTC+10)可能已有人在做 @yang00333 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
DOI-USGS/dataretrieval-python#454 ·
维护者通常 4 天内回复
-
area:core-platform effort:S priority:P3 status:in-review type:test
难度 2/5 1 小时以内 新手友好度 80/100
randomparity/kdive#3246 · 1 条评论 ·
维护者通常 1 天内回复
-
Requantification library converts m/z to mass with the hydrogen-atom mass instead of the proton mass未关闭bug
难度 1/5 1 小时以内 新手友好度 85/100
nf-core/metaboigniter#130 ·
维护者通常 1 天内回复
-
netbox status: needs owner type: documentation
难度 1/5 1 小时以内 新手友好度 75/100
netbox-community/netbox#23412 · 1 个 reaction ·
维护者通常 1 天内回复