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
throwgetElementError(`Found a label with the text of: ${text}, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,container)
220
+
throwgetElementError(
221
+
`Found a label with the text of: ${text}, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,
222
+
container,
223
+
)
209
224
}else{
210
-
throwgetElementError(`Unable to find a label with the text of: ${text}`,container)
225
+
throwgetElementError(
226
+
`Unable to find a label with the text of: ${text}`,
227
+
container,
228
+
)
211
229
}
212
230
}
213
231
returnels
@@ -220,7 +238,10 @@ function getByLabelText(...args) {
220
238
functiongetAllByText(container,text, ...rest){
221
239
constels=queryAllByText(container,text, ...rest)
222
240
if(!els.length){
223
-
throwgetElementError(`Unable to find an element with the text: ${text}. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.`,container)
241
+
throwgetElementError(
242
+
`Unable to find an element with the text: ${text}. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.`,
243
+
container,
244
+
)
224
245
}
225
246
returnels
226
247
}
@@ -232,7 +253,10 @@ function getByText(...args) {
0 commit comments