




















@@ -92,7 +92,7 @@ function scenarioWithCoverage(params: {
9292},
9393objective: "Exercise test coverage.",
9494successCriteria: ["Evidence is recorded."],
95-sourcePath: params.sourcePath ?? "qa/scenarios/test/test-scenario.md",
95+sourcePath: params.sourcePath ?? "qa/scenarios/test/test-scenario.yaml",
9696 execution,
9797};
9898}
@@ -157,7 +157,7 @@ describe("qa coverage report", () => {
157157kind: "playwright",
158158path: "ui/src/ui/e2e/chat-flow.e2e.test.ts",
159159role: "primary",
160-scenarioRefs: ["qa/scenarios/ui/control-ui-chat-flow-playwright.md"],
160+scenarioRefs: ["qa/scenarios/ui/control-ui-chat-flow-playwright.yaml"],
161161});
162162expect(inventory.scenarioPacks.map((pack) => pack.id)).toEqual([
163163"observability",
@@ -184,7 +184,7 @@ describe("qa coverage report", () => {
184184expect(report).toContain("- Missing coverage metadata: 0");
185185expect(report).toContain("- Overlapping coverage IDs:");
186186expect(report).toContain("memory.recall");
187-expect(report).toContain("primary: memory-recall (qa/scenarios/memory/memory-recall.md)");
187+expect(report).toContain("primary: memory-recall (qa/scenarios/memory/memory-recall.yaml)");
188188expect(report).toContain("secondary: active-memory-preprompt-recall");
189189expect(report).toContain("## Scenario Packs");
190190expect(report).toContain(
@@ -236,7 +236,7 @@ describe("qa coverage report", () => {
236236primary: [TEST_BROWSER_COVERAGE_ID],
237237executionKind: "playwright",
238238executionPath: playwrightExecutionPath,
239-sourcePath: "qa/scenarios/ui/control-ui-chat-flow-playwright.md",
239+sourcePath: "qa/scenarios/ui/control-ui-chat-flow-playwright.yaml",
240240});
241241const report = renderQaScenarioMatchesMarkdownReport({
242242query: "mixed",
@@ -310,7 +310,7 @@ describe("qa coverage report", () => {
310310scenarios: [
311311scenarioWithCoverage({
312312primary: [TEST_BROWSER_COVERAGE_ID],
313-sourcePath: "qa/scenarios/ui/control-ui-chat-flow-playwright.md",
313+sourcePath: "qa/scenarios/ui/control-ui-chat-flow-playwright.yaml",
314314executionKind: "playwright",
315315executionPath: "ui/src/ui/e2e/chat-flow.e2e.test.ts",
316316}),
@@ -322,15 +322,15 @@ describe("qa coverage report", () => {
322322expect(report.fulfilledFeatureCount).toBe(1);
323323expect(report.categories[0]?.mappingStatus).toBe("mapped");
324324expect(report.categories[0]?.scenarioRefs).toStrictEqual([
325-"qa/scenarios/ui/control-ui-chat-flow-playwright.md",
325+"qa/scenarios/ui/control-ui-chat-flow-playwright.yaml",
326326]);
327327expect(report.categories[0]?.evidence).toStrictEqual([
328328{
329329coverageId: TEST_BROWSER_COVERAGE_ID,
330330kind: "playwright",
331331path: "ui/src/ui/e2e/chat-flow.e2e.test.ts",
332332role: "primary",
333-scenarioRefs: ["qa/scenarios/ui/control-ui-chat-flow-playwright.md"],
333+scenarioRefs: ["qa/scenarios/ui/control-ui-chat-flow-playwright.yaml"],
334334},
335335]);
336336});
@@ -389,22 +389,22 @@ describe("qa coverage report", () => {
389389scenarios: [
390390scenarioWithCoverage({
391391primary: [TEST_EXECUTABLE_COVERAGE_ID],
392-sourcePath: "qa/scenarios/channels/dm-chat-baseline.md",
392+sourcePath: "qa/scenarios/channels/dm-chat-baseline.yaml",
393393}),
394394],
395395});
396396397397expect(report.validationIssues).toStrictEqual([]);
398398expect(report.categories[0]?.scenarioRefs).toStrictEqual([
399-"qa/scenarios/channels/dm-chat-baseline.md",
399+"qa/scenarios/channels/dm-chat-baseline.yaml",
400400]);
401401expect(report.categories[0]?.evidence).toStrictEqual([
402402{
403403coverageId: TEST_EXECUTABLE_COVERAGE_ID,
404404kind: "qa-scenario",
405405path: null,
406406role: "primary",
407-scenarioRefs: ["qa/scenarios/channels/dm-chat-baseline.md"],
407+scenarioRefs: ["qa/scenarios/channels/dm-chat-baseline.yaml"],
408408},
409409]);
410410});
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。