You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -73,30 +73,47 @@ Unique methods, not part of `@testing-library/dom`
73
73
-`queryAllByPlaceholderText`
74
74
-`getByPlaceholderText`
75
75
-`getAllByPlaceholderText`
76
+
-`findByPlaceholderText`
77
+
-`findAllByPlaceholderText`
76
78
-`queryByText`
77
79
-`queryAllByText`
78
80
-`getByText`
79
81
-`getAllByText`
82
+
-`findByText`
83
+
-`findAllByText`
80
84
-`queryByLabelText`
81
85
-`queryAllByLabelText`
82
86
-`getByLabelText`
83
87
-`getAllByLabelText`
88
+
-`findByLabelText`
89
+
-`findAllByLabelText`
84
90
-`queryByAltText`
85
91
-`queryAllByAltText`
86
92
-`getByAltText`
87
93
-`getAllByAltText`
94
+
-`findByAltText`
95
+
-`findAllByAltText`
88
96
-`queryByTestId`
89
97
-`queryAllByTestId`
90
98
-`getByTestId`
91
99
-`getAllByTestId`
100
+
-`findByTestId`
101
+
-`findAllByTestId`
92
102
-`queryByTitle`
93
103
-`queryAllByTitle`
94
104
-`getByTitle`
95
105
-`getAllByTitle`
106
+
-`findByTitle`
107
+
-`findAllByTitle`
108
+
-`queryByDisplayValue`,
109
+
-`queryAllByDisplayValue`,
110
+
-`getByDisplayValue`,
111
+
-`getAllByDisplayValue`,
112
+
-`findByDisplayValue`,
113
+
-`findAllByDisplayValue`,
96
114
97
115
## Known Limitations
98
-
99
-
-`waitForElement` method is not exposed. Puppeteer has its own set of wait utilities that somewhat conflict with the style used in `@testing-library/dom`. See [#3](https://github.com/testing-library/pptr-testing-library/issues/3).
116
+
- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.
100
117
-`fireEvent` method is not exposed, use puppeteer's built-ins instead.
0 commit comments