This repository was archived by the owner on Aug 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,9 @@ async function processQuery(handles: IHandleSet): Promise<DOMReturnType> {
9898 const handle = await containerHandle . evaluateHandle ( evaluateFn , [ fnName , ...argsToForward ] )
9999 return await covertToElementHandle ( handle , fnName . includes ( 'All' ) )
100100 } catch ( err ) {
101- err . message = err . message . replace ( '[fnName]' , `[${ fnName } ]` )
101+ err . message = err . message
102+ . replace ( / ^ .* (? = T e s t i n g L i b r a r y E l e m e n t E r r o r : ) / , '' )
103+ . replace ( '[fnName]' , `[${ fnName } ]` )
102104 err . stack = err . stack . replace ( '[fnName]' , `[${ fnName } ]` )
103105 throw err
104106 }
Original file line number Diff line number Diff line change 33exports [` lib/extend.ts should handle the LabelText methods 1` ] = ` "<input id =\\"label-text-input\\" type =\\"text\\">"`;
44
55exports[`lib/extend.ts should handle the get* method failures 1`] = `
6- " Evaluation failed: TestingLibraryElementError: Unable to find an element with the title: missing.
6+ " TestingLibraryElementError: Unable to find an element with the title: missing.
77
88<div
99 id=\\" scoped\\"
You can’t perform that action at this time.
0 commit comments