MCPcopy Index your code
hub / github.com/CopilotKit/OpenTag / CaseResult

Interface CaseResult

e2e/run.ts:33–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31const TEST_CHANNEL = process.env.E2E_CHANNEL ?? "C0B49MEJ1HQ"; // #ag-ui-bot-test
32
33interface CaseResult {
34 name: string;
35 prompt: string;
36 status: "pass" | "fail";
37 errors: string[];
38 durationMs: number;
39 finalText: string | undefined;
40 unbalancedSamples: number;
41 samples: {
42 elapsedMs: number;
43 balanced: boolean;
44 len: number;
45 preview: string;
46 /** Full text (only stored for UNBALANCED samples to keep the report small). */
47 full?: string;
48 }[];
49 followUp?: CaseResult;
50 /** Set when the case has an `interrupt` spec — details on the second reply. */
51 interrupt?: {
52 firstReplyText: string | undefined;
53 secondReplyText: string | undefined;
54 errors: string[];
55 };
56}
57
58function runExpectations(
59 exp: NonNullable<E2ECase["expectations"]>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected