We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6072bb4 commit 8d8d3c9Copy full SHA for 8d8d3c9
docs/pptr-testing-library/intro.mdx
@@ -49,7 +49,7 @@ const page = await browser.newPage()
49
const $document = await page.getDocument()
50
// query methods are added directly to prototype of ElementHandle
51
const $form = await $document.getByTestId('my-form')
52
-// destructing works if you explicitly call getQueriesForElement
+// destructuring works if you explicitly call getQueriesForElement
53
const {getByLabelText} = $form.getQueriesForElement()
54
// ...
55
const $email = await getByLabelText('Email')
0 commit comments