diff --git a/extensions/qa-lab/src/live-transports/live-transport-adapters.test.ts b/extensions/qa-lab/src/live-transports/live-transport-adapters.test.ts index 3a32af361a5e..004d664c4495 100644 --- a/extensions/qa-lab/src/live-transports/live-transport-adapters.test.ts +++ b/extensions/qa-lab/src/live-transports/live-transport-adapters.test.ts @@ -19,8 +19,10 @@ vi.mock("./whatsapp/adapter.runtime.js", () => ({ })); import { slackQaCliRegistration } from "./slack/cli.js"; +import { SLACK_QA_DEFAULT_SCENARIO_IDS } from "./slack/profiles.js"; import { telegramQaCliRegistration } from "./telegram/cli.js"; import { whatsappQaCliRegistration } from "./whatsapp/cli.js"; +import { resolveWhatsAppQaScenarioIds } from "./whatsapp/profiles.js"; const slackQaAdapterFactory = slackQaCliRegistration.adapterFactory; const telegramQaAdapterFactory = telegramQaCliRegistration.adapterFactory; @@ -36,26 +38,14 @@ const factories = [ ] as const; describe("live transport adapter factories", () => { - it("assigns shared thread scenarios to Slack", () => { - expect(slackQaAdapterFactory.scenarioIds).toEqual([ - "channel-chat-baseline", - "channel-canary", - "channel-mention-gating", - "channel-top-level-reply-shape", - "thread-follow-up", - "thread-isolation", - ]); + it("assigns the canonical live scenario defaults to Slack", () => { + expect(slackQaAdapterFactory.scenarioIds).toEqual(SLACK_QA_DEFAULT_SCENARIO_IDS); }); - it("keeps WhatsApp routing flows available without making them DM-safe CLI defaults", () => { - expect(whatsappQaAdapterFactory.scenarioIds).toEqual([ - "dm-chat-baseline", - "channel-canary", - "channel-dm-group-routing", - "channel-mention-gating", - "channel-top-level-reply-shape", - "whatsapp-help-command", - ]); + it("assigns the canonical live-frontier scenario defaults to WhatsApp", () => { + expect(whatsappQaAdapterFactory.scenarioIds).toEqual( + resolveWhatsAppQaScenarioIds({ providerMode: "live-frontier" }), + ); }); it.each([ diff --git a/extensions/qa-lab/src/live-transports/matrix/matrix-scenario-flows.test.ts b/extensions/qa-lab/src/live-transports/matrix/matrix-scenario-flows.test.ts index 0a2d0fbb2846..566341275a1a 100644 --- a/extensions/qa-lab/src/live-transports/matrix/matrix-scenario-flows.test.ts +++ b/extensions/qa-lab/src/live-transports/matrix/matrix-scenario-flows.test.ts @@ -38,7 +38,7 @@ function readModuleBinding( describe("Matrix QA Lab scenario flows", () => { const catalog = readQaBootstrapScenarioCatalog(); const scenarios = catalog.scenarios.filter((scenario) => { - if (scenario.execution.kind !== "flow") { + if (scenario.execution.kind !== "flow" || scenario.execution.channel !== "matrix") { return false; } return scenario.execution.flow?.steps.some((step) =>