Skip to content

Commit 35f8107

Browse files
committed
Trying again with counting test cases
1 parent ed7f3e3 commit 35f8107

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tests/internal/e2e/test/test_utils/vcast_utils.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff 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 (

0 commit comments

Comments
 (0)