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-1
Original file line number
Diff line number
Diff line change
@@ -90,30 +90,48 @@ Unique methods, not part of `@testing-library/dom`
90
90
-`queryAllByPlaceholderText`
91
91
-`getByPlaceholderText`
92
92
-`getAllByPlaceholderText`
93
+
-`findByPlaceholderText`
94
+
-`findAllByPlaceholderText`
93
95
-`queryByText`
94
96
-`queryAllByText`
95
97
-`getByText`
96
98
-`getAllByText`
99
+
-`findByText`
100
+
-`findAllByText`
97
101
-`queryByLabelText`
98
102
-`queryAllByLabelText`
99
103
-`getByLabelText`
100
104
-`getAllByLabelText`
105
+
-`findByLabelText`
106
+
-`findAllByLabelText`
101
107
-`queryByAltText`
102
108
-`queryAllByAltText`
103
109
-`getByAltText`
104
110
-`getAllByAltText`
111
+
-`findByAltText`
112
+
-`findAllByAltText`
105
113
-`queryByTestId`
106
114
-`queryAllByTestId`
107
115
-`getByTestId`
108
116
-`getAllByTestId`
117
+
-`findByTestId`
118
+
-`findAllByTestId`
109
119
-`queryByTitle`
110
120
-`queryAllByTitle`
111
121
-`getByTitle`
112
122
-`getAllByTitle`
123
+
-`findByTitle`
124
+
-`findAllByTitle`
125
+
-`queryByDisplayValue`,
126
+
-`queryAllByDisplayValue`,
127
+
-`getByDisplayValue`,
128
+
-`getAllByDisplayValue`,
129
+
-`findByDisplayValue`,
130
+
-`findAllByDisplayValue`,
113
131
114
132
## Known Limitations
115
133
116
-
-`waitForElement` method is not exposed. Playwright 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/playwright-testing-library/issues/3).
134
+
-Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.
117
135
-`fireEvent` method is not exposed, use Playwright's built-ins instead.
0 commit comments