Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[P1] platform: Add platform-wide frontend E2E coverage

未关闭
#223 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
nodejs, playwright, typescript

调研方向

从 frontend/package.json 和 ADR-007 中的 route-mapping 依赖开始,然后查看 docs/modernization-plan.md,了解剩余的集成测试范围。添加 Playwright 设置、脚本、稳定路由和模拟流程的覆盖、可访问性断言,以及 CI 或文档化的执行接线。完成的标准是:列出的路由和流程均已覆盖,导航不会出现 404 或客户端错误,并且 backend tests 和 frontend lint/build 仍然通过。

由索引模型根据 Issue 内容生成。

描述

component:ci-cd frontend priority:P1 type:tech-debt

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

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure-Samples/tutor 的其他 Issue

查看 Azure-Samples/tutor 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。