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
// query methods are added directly to prototype of ElementHandle
51
51
const$form=await$document.getByTestId('my-form')
52
+
// destructing works if you explicitly call getQueriesForElement
53
+
const {getByText} =$form.getQueriesForElement()
52
54
// ...
53
55
```
54
56
@@ -95,7 +97,6 @@ Unique methods, not part of `dom-testing-library`
95
97
96
98
-`waitForElement` method is not exposed. Puppeteer has its own set of wait utilities that somewhat conflict with the style used in `dom-testing-library`. See [#3](https://github.com/patrickhulce/pptr-testing-library/issues/3).
97
99
-`fireEvent` method is not exposed, use puppeteer's built-ins instead.
98
-
- Query methods rely on the context and don't support destructuring. See [#4](https://github.com/patrickhulce/pptr-testing-library/issues/4).
0 commit comments