Skip to content

Commit 45302ea

Browse files
docs: use includeHiddenElements option name instead of hidden (#1246)
1 parent a71b2fa commit 45302ea

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

website/docs/Queries.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ getByText(
101101
options?: {
102102
exact?: boolean;
103103
normalizer?: (text: string) => string;
104-
hidden?: boolean;
104+
includeHiddenElements?: boolean;
105105
}
106106
): ReactTestInstance;
107107
```
@@ -127,7 +127,7 @@ getByPlaceholderText(
127127
options?: {
128128
exact?: boolean;
129129
normalizer?: (text: string) => string;
130-
hidden?: boolean;
130+
includeHiddenElements?: boolean;
131131
}
132132
): ReactTestInstance;
133133
```
@@ -151,7 +151,7 @@ getByDisplayValue(
151151
options?: {
152152
exact?: boolean;
153153
normalizer?: (text: string) => string;
154-
hidden?: boolean;
154+
includeHiddenElements?: boolean;
155155
}
156156
): ReactTestInstance;
157157
```
@@ -175,7 +175,7 @@ getByTestId(
175175
options?: {
176176
exact?: boolean;
177177
normalizer?: (text: string) => string;
178-
hidden?: boolean;
178+
includeHiddenElements?: boolean;
179179
}
180180
): ReactTestInstance;
181181
```
@@ -203,7 +203,7 @@ getByLabelText(
203203
options?: {
204204
exact?: boolean;
205205
normalizer?: (text: string) => string;
206-
hidden?: boolean;
206+
includeHiddenElements?: boolean;
207207
}
208208
): ReactTestInstance;
209209
```
@@ -229,7 +229,7 @@ getByHintText(
229229
options?: {
230230
exact?: boolean;
231231
normalizer?: (text: string) => string;
232-
hidden?: boolean;
232+
includeHiddenElements?: boolean;
233233
}
234234
): ReactTestInstance;
235235
```
@@ -267,7 +267,7 @@ getByRole(
267267
now?: number;
268268
text?: TextMatch;
269269
},
270-
hidden?: boolean;
270+
includeHiddenElements?: boolean;
271271
}
272272
): ReactTestInstance;
273273
```
@@ -318,7 +318,7 @@ getByA11yState(
318318
busy?: boolean,
319319
},
320320
options?: {
321-
hidden?: boolean;
321+
includeHiddenElements?: boolean;
322322
}
323323
): ReactTestInstance;
324324
```
@@ -374,7 +374,7 @@ getByA11yValue(
374374
text?: TextMatch;
375375
},
376376
options?: {
377-
hidden?: boolean;
377+
includeHiddenElements?: boolean;
378378
}
379379
): ReactTestInstance;
380380
```

0 commit comments

Comments
 (0)