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

Reduce number of e2e test

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

Maintainer thường phản hồi trong vòng 2 ngày

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
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend, testing

Hướng nghiên cứu

Start with src/routes/(app)/trino/+page.svelte and the existing specs under src/, especially state.svelte.spec.ts and *.server.test.ts. Review AGENTS.md guidance for e2e coverage, then identify duplicated e2e cases and determine which belong in component, unit, or server tests. Done means the Trino page is split into components and redundant e2e coverage has been moved or removed while the remaining e2e tests cover behavior that cannot be component tested.

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

Mô tả

  • Adjust AGENTS.md to only write e2e for things that can not be component tested
  • Identify duplicated tests, remove the e2e ones
  • Restructure Trino page and split into components
  1. About 55 of the ~254 e2e tests duplicate specs that already exist under src/
  2. About 75 more could move down, either to component tests or to plain unit/server tests. A good share of them belong in state.svelte.spec.ts or *.server.test.ts rather than in rendered component tests.

The Trino page is the main obstacle. The connection form, run controls and result summary are all inline in src/routes/(app)/trino/+page.svelte (861 lines). Extracting these enables us to write componen tests.

Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Merge trung bình
5 ngày 23 giờ
Pull request đã merge (30 ngày)
21

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 stackabletech/cockpit

Tất cả issue của stackabletech/cockpit

Issue tương tự

Thêm issue về TypeScript

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.