[P1] platform: Add platform-wide frontend E2E coverage
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ả
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
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.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure-Samples/tutor
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Azure-Samples/tutor#230 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Azure-Samples/tutor#229 · 1 bình luận ·
-
frontend priority:P2 type:tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Azure-Samples/tutor#224 · 3 bình luận ·
-
frontend priority:P1 type:feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Azure-Samples/tutor#222 · 1 bình luận ·
-
frontend priority:P1 type:tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Azure-Samples/tutor#221 · 2 bình luận ·
Tất cả issue của Azure-Samples/tutor
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
google-agentic-commerce/AP2#388 ·
-
area:codegen backend:cuda backend:hip bug direction:input
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CrossGL/crosstl#3061 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
rlaope/oh-my-hermes#2304 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
mochan-tk/agentic-dev-kit-for-codex#64 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows ARM memory-leakĐang mởbug docs performance
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 3 ngày