patternfly / patternfly/patternfly-react

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

オープン
#7,594 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

PF Team Pinned
主要言語
TypeScript
スター
862
フォーク
392
平均マージ
4日 8時間
マージ済み PR(30日)
9

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされている React Testing Library の標準と、この epic にある未チェックのコンポーネント項目から始めます。特定のコンポーネントに焦点を当てたタスクを作成または選択し、そのコンポーネントの既存のテストスイートを調査します。テストが指定された RTL の方法論に従い、console のステートメントを出力する代わりにモックするようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript
領域
frontend, testing
issue の種類
リファクタリング
難易度
4/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。