@@ -58,6 +58,7 @@ See [TextMatch](#textmatch) for documentation on what can be passed to a query.
58
58
### ` ByLabelText `
59
59
60
60
> getByLabelText, queryByLabelText, getAllByLabelText, queryAllByLabelText
61
+ > findByLabelText, findAllByLabelText
61
62
62
63
``` typescript
63
64
getByLabelText (
@@ -145,7 +146,7 @@ const inputNode = getByLabelText(container, 'username', {
145
146
### ` ByPlaceholderText `
146
147
147
148
> getByPlaceholderText, queryByPlaceholderText, getAllByPlaceholderText,
148
- > queryAllByPlaceholderText
149
+ > queryAllByPlaceholderText, findByPlaceholderText, findAllByPlaceholderText
149
150
150
151
``` typescript
151
152
getByPlaceholderText (
@@ -199,7 +200,7 @@ cy.getByPlaceholderText('Username').should('exist')
199
200
200
201
### ` ByText `
201
202
202
- > getByText, queryByText, getAllByText, queryAllByText
203
+ > getByText, queryByText, getAllByText, queryAllByText, findByText, findAllByText
203
204
204
205
``` typescript
205
206
getByText (
@@ -270,7 +271,8 @@ If you'd rather disable this behavior, set `ignore` to `false`.
270
271
271
272
### ` ByAltText `
272
273
273
- > getByAltText, queryByAltText, getAllByAltText, queryAllByAltText
274
+ > getByAltText, queryByAltText, getAllByAltText, queryAllByAltText, findByAltText,
275
+ > findAllByAltText
274
276
275
277
``` typescript
276
278
getByAltText (
@@ -325,7 +327,8 @@ cy.getByAltText(/incredibles.*png$/i).should('exist')
325
327
326
328
### ` ByTitle `
327
329
328
- > getByTitle, queryByTitle, getAllByTitle, queryAllByTitle
330
+ > getByTitle, queryByTitle, getAllByTitle, queryAllByTitle, findByTitle,
331
+ > findAllByTitle
329
332
330
333
``` typescript
331
334
getByTitle (
@@ -383,7 +386,7 @@ cy.getByTitle('Close').should('exist')
383
386
### ` ByDisplayValue `
384
387
385
388
> getByDisplayValue, queryByDisplayValue, getAllByDisplayValue,
386
- > queryAllByDisplayValue
389
+ > queryAllByDisplayValue, findByDisplayValue, findAllByDisplayValue
387
390
388
391
``` typescript
389
392
getByDisplayValue (
@@ -518,7 +521,8 @@ cy.getByDisplayName('Alaska').should('exist')
518
521
519
522
### ` ByRole `
520
523
521
- > getByRole, queryByRole, getAllByRole, queryAllByRole
524
+ > getByRole, queryByRole, getAllByRole, queryAllByRole, findByRole,
525
+ > findAllByRole
522
526
523
527
``` typescript
524
528
getByRole (
@@ -567,7 +571,8 @@ cy.getByRole('dialog').should('exist')
567
571
568
572
### ` ByTestId `
569
573
570
- > getByTestId, queryByTestId, getAllByTestId, queryAllByTestId
574
+ > getByTestId, queryByTestId, getAllByTestId, queryAllByTestId, findByTestId,
575
+ > findAllByTestId
571
576
572
577
``` typescript
573
578
getByTestId (
0 commit comments