Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#223 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
nodejs, playwright, typescript
Lĩnh vực
ci-cd, frontend, testing-qa

Hướng nghiên cứu

Bắt đầu với frontend/package.json và dependency route-mapping từ ADR-007, sau đó xem lại docs/modernization-plan.md để xác định phạm vi integration-test còn lại. Thêm thiết lập Playwright, các script, coverage cho các route ổn định và các flow được mock, các assertion về accessibility, cùng wiring để chạy trong CI hoặc được dokument hóa. Hoàn thành khi các route và flow được liệt kê đã có coverage, việc điều hướng tránh được 404 và lỗi phía client, đồng thời backend tests và frontend lint/build vẫn xanh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
17
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure-Samples/tutor

Tất cả issue của Azure-Samples/tutor

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.