patternfly / patternfly/patternfly-react
chore: update component unit tests to meet new standards with RTL
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 React Testing Library 标准和此 epic 中未勾选的组件条目开始。创建或选择一个专注于某个组件的任务,然后检查该组件现有的测试套件。当其测试遵循所述的 RTL 方法,并对 console 语句进行 mock 而不是将其打印出来时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend, testing
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100