patternfly / patternfly/patternfly-react
chore: update component unit tests to meet new standards with RTL
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 862
- Fork
- 392
- Merge medio
- 4g 8h
- PR unite (30g)
- 9
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con gli standard collegati di React Testing Library e le voci dei componenti non selezionate in questo epic. Crea o seleziona un'attività focalizzata su un componente, quindi esamina la suite di test esistente di quel componente. Il lavoro è completato quando i suoi test seguono la metodologia RTL indicata e fanno il mock delle istruzioni di console invece di stamparle.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- frontend, testing
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100