patternfly / patternfly/patternfly-react
chore: update component unit tests to meet new standards with RTL
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 862
- Forks
- 392
- Ø Merge
- 4 T. 8 Std.
- Gemergte PRs (30 T.)
- 9
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit den verlinkten React Testing Library-Standards und den nicht abgehakten Komponenteneinträgen in diesem Epic. Erstelle eine fokussierte Komponentenaufgabe oder wähle eine aus und überprüfe anschließend die vorhandene Testsuite dieser Komponente. Als erledigt gilt die Aufgabe, wenn die Tests der angegebenen RTL-Methodik folgen und console-Anweisungen mocken, anstatt sie auszugeben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend, testing
- Issue-Typ
- Refactoring
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100