Run the Playwright end-to-end specs in CI
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, javascript, nextjs, nodejs, playwright, typescript
Hướng nghiên cứu
Read .github/workflows/ci.yml and frontend/e2e/README.md, then inspect the named specs and frontend/e2e/open-edition.config.ts. Run the current CI checks and the Playwright specs to identify failures on main; add a CI job with the requested backend/frontend setup, Chromium caching, and failure artifact upload. Done when the job meets the runtime target, passes node scripts/check-boundary.js, and the pull request explains the failure-on-purpose check and any quarantined specs.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
frontend/e2e/ has Playwright specs (open-edition.spec.ts, matchmaking-preferences.spec.ts, dashboard-layout.spec.ts), but .github/workflows/ci.yml never runs them. CI only runs lint, Jest and next build, so a page that builds but breaks in the browser passes CI.
What to do
- Add a CI job that starts the backend with
CODEARENA_RUNNER=localand a throwawayJWT_SECRET, starts the frontend, and runs the specs withfrontend/e2e/open-edition.config.ts(seefrontend/e2e/README.md). - Install only Chromium to keep the job fast, and cache the Playwright browsers.
- Upload the Playwright report as an artifact when the job fails.
- Fix or quarantine any spec that is already failing on
main, with a note in the pull request explaining which and why.
Definition of done
- The new job is green on
mainand turns red when you break a page on purpose (say how you checked in the pull request). - Runtime stays under about 10 minutes.
node scripts/check-boundary.jspasses.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 2
- 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ông có Dockerfile hay tệp Docker Compose
- Không 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 sennaicodes/codearena
-
Add issue and pull request templatesCó thể làm lại được @franciscorodr26 đã nhận 19 ngày trước và không có pull request nào đang mở. Đang mởdocumentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
sennaicodes/codearena#13 · 1 bình luận ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
sennaicodes/codearena#34 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
sennaicodes/codearena#33 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
sennaicodes/codearena#32 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
sennaicodes/codearena#31 ·
Tất cả issue của sennaicodes/codearena
Issue tương tự
-
[version] Windows WMPF 26042 偏移Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
evi0s/WMPFDebugger#303 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
HakanSeven12/OpenCADStudio#2257 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[bug] extension mappingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
bug code-annotation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
quarto-dev/quarto-cli#15215 ·
Maintainer thường phản hồi trong vòng 1 ngày