Skip to content

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

test(e2e): update shard selection test case

Steven Enamakel5abfbe6271c3
diff --git a/scripts/__tests__/e2e-web-shards.test.mjs b/scripts/__tests__/e2e-web-shards.test.mjs
index 918e77bdff..1758cbdba4 100644
--- a/scripts/__tests__/e2e-web-shards.test.mjs
+++ b/scripts/__tests__/e2e-web-shards.test.mjs
@@ -124,8 +124,17 @@ test("selection classifier rejects unknown diagnostics and protected-owner demot
assert.throws(
() =>
classifySpecFiles(
- ["test/playwright/specs/owner.spec.ts", "test/playwright/specs/legacy.spec.ts"],
- { ...base, diagnostics: [{ path: "test/playwright/specs/owner.spec.ts" }] },
+ [
+ "test/playwright/specs/owner.spec.ts",
+ "test/playwright/specs/aui-tool-result-elements.spec.ts",
+ ],
+ {
+ protectedOwnerFiles: [
+ "test/playwright/specs/owner.spec.ts",
+ "test/playwright/specs/aui-tool-result-elements.spec.ts",
+ ],
+ diagnostics: [{ path: "test/playwright/specs/aui-tool-result-elements.spec.ts" }],
+ },
),
/protected browser owners cannot be diagnostic/,
);