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

Run the Playwright end-to-end specs in CI

Đang mở
#9 0 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ó
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
Lĩnh vực
ci-cd, testing

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ả

enhancement help wanted

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=local and a throwaway JWT_SECRET, starts the frontend, and runs the specs with frontend/e2e/open-edition.config.ts (see frontend/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 main and 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.js passes.
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

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 sennaicodes/codearena

Tất cả issue của sennaicodes/codearena

Issue tương tự

Thêm issue về JavaScript

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.