File tree Expand file tree Collapse file tree
tests/internal/e2e/test/test_utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -336,16 +336,16 @@ export async function getTestHandle(
336336 await customSubprogramMethod . select ( ) ;
337337 }
338338
339- // try {
340- // await browser.waitUntil(
341- // async () =>
342- // (await customSubprogramMethod.getChildren()).length ===
343- // totalNumberOfTestsForMethod,
344- // { timeout: 8000 , timeoutMsg: `${expectedTestName} not found` }
345- // );
346- // } catch {
347- // return undefined;
348- // }
339+ try {
340+ await browser . waitUntil (
341+ async ( ) =>
342+ ( await customSubprogramMethod . getChildren ( ) ) . length ===
343+ totalNumberOfTestsForMethod ,
344+ { timeout : 10000 , timeoutMsg : `${ expectedTestName } not found` }
345+ ) ;
346+ } catch {
347+ return undefined ;
348+ }
349349
350350 for ( const testHandle of await customSubprogramMethod . getChildren ( ) ) {
351351 const testName = await (
You can’t perform that action at this time.
0 commit comments