Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(e2e): reformat countTestId return expression

Steven Enamakel6d9ae09b1e0e
diff --git a/app/test/e2e/helpers/element-helpers.ts b/app/test/e2e/helpers/element-helpers.ts
index 0b4cc499a1..c898d10240 100644
--- a/app/test/e2e/helpers/element-helpers.ts
+++ b/app/test/e2e/helpers/element-helpers.ts
@@ -417,7 +417,9 @@ export async function countTestId(testId: string): Promise<number> {
if (!isTauriDriver()) {
throw new Error(`countTestId is only supported on tauri-driver: ${testId}`);
}
- return await (await browser.$$(testIdSelector(testId))).length;
+ return await (
+ await browser.$$(testIdSelector(testId))
+ ).length;
}
/** Click an indexed repeated test-id control through the shared click path. */