patternfly / patternfly/patternfly-react

chore: update component unit tests to meet new standards with RTL

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

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

PF Team Pinned
Ngôn ngữ chính
TypeScript
Star
862
Fork
392
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
9

Mô tả

Describe the issue. What is the expected and unexpected behavior?
This Epic will track the work of updating the test suites for our components to meet our new RTL testing standards and methodology. Please create issues as you pick up tasking.

NOTE: As part of this effort console statements should be mocked in revamped tests rather than actually printing the console

  • #7605

  • #7665

  • #7670

  • #9524

  • #7835

  • #7812

  • #7813

  • #8189

  • #9525

  • #7994

  • #8094

  • #9526

  • #7860

  • #9527

  • #9528

  • #9529

  • #9530

  • #9531

  • #9532

  • #9533

  • #9534

  • #9634

  • #9685

  • #9673

  • #9684

  • #9686

  • #7964

  • #9688

  • #9689

  • File upload

  • File upload - multiple

  • Form

  • Form control

  • Form select

  • #9760

  • #7616

  • Inline edit

  • Input group

  • Jump links

  • Label

  • Label group

  • #8400

  • Login page

  • Masthead

  • Menu

  • Menu toggle

  • Modal

  • Navigation

  • Notification Badge

  • Number input

  • Overflow menu

  • Page

  • Pagination

  • #8247

  • Popover

  • Progress

  • #8345

  • Radio

  • Search input

  • #8302

  • Simple list

  • Skeleton

  • Skip to content

  • Slider

  • Spinner

  • Switch

  • Tab content

  • #8173

  • Text

  • #7976

  • Text input

  • #7169

  • Tile

  • Time picker

  • #8007

  • Toggle group

  • #7687

  • #9768

  • #7643

The following components are expected to change significantly in the near future. Updates to their tests should be delayed until those changes are completed.

  • About modal

  • Card

  • Composable table

  • Drawer

  • Dual list selector

  • Notification drawer

  • Toolbar

  • Wizard


Jira Issue: PF-179

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Hướng nghiên cứu

Bắt đầu với các tiêu chuẩn React Testing Library được liên kết và các mục component chưa được đánh dấu trong epic này. Tạo hoặc chọn một task tập trung vào một component, sau đó kiểm tra test suite hiện có của component đó. Công việc được xem là hoàn tất khi các test tuân theo phương pháp RTL đã nêu và mock các câu lệnh console thay vì in chúng ra.

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

Đánh giá

Công nghệ
react, typescript
Lĩnh vực
frontend, testing
Loại issue
Tái cấu trúc
Độ khó
4/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.