mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
test(qa): canonicalize Crabline transport selections
This commit is contained in:
@@ -20,7 +20,7 @@ const PROVIDER_CASES = [
|
||||
channel: "matrix",
|
||||
conversation: { id: "main", kind: "group" },
|
||||
senderId: "driver",
|
||||
nativeMessageId: /^\$[a-f0-9]{16}:matrix\.test$/u,
|
||||
nativeMessageId: /^\$[A-Za-z0-9_-]{43}$/u,
|
||||
},
|
||||
] as const;
|
||||
|
||||
@@ -33,10 +33,10 @@ describe("Crabline provider-native inbound message identity", () => {
|
||||
const transport = await createQaCrablineTransportAdapter({
|
||||
outputDir,
|
||||
selection: {
|
||||
capabilityMatrixPath: "crabline-fake-provider-capabilities.json",
|
||||
capabilityMatrixPath: "crabline-channel-driver-capabilities.json",
|
||||
channel,
|
||||
channelDriver: "crabline",
|
||||
smokeArtifactPath: "crabline-fake-provider-smoke.json",
|
||||
providerReadinessArtifactPath: "crabline-provider-readiness.json",
|
||||
},
|
||||
state: busState,
|
||||
});
|
||||
@@ -84,10 +84,10 @@ describe("Crabline provider-native inbound message identity", () => {
|
||||
await createQaCrablineTransportAdapter({
|
||||
outputDir: `${outputDir}/${name}`,
|
||||
selection: {
|
||||
capabilityMatrixPath: "crabline-fake-provider-capabilities.json",
|
||||
capabilityMatrixPath: "crabline-channel-driver-capabilities.json",
|
||||
channel: "telegram",
|
||||
channelDriver: "crabline",
|
||||
smokeArtifactPath: "crabline-fake-provider-smoke.json",
|
||||
providerReadinessArtifactPath: "crabline-provider-readiness.json",
|
||||
},
|
||||
state: busState,
|
||||
});
|
||||
|
||||
@@ -15,10 +15,10 @@ describe("Crabline Telegram native command arguments", () => {
|
||||
const transport = await createQaCrablineTransportAdapter({
|
||||
outputDir,
|
||||
selection: {
|
||||
capabilityMatrixPath: "crabline-fake-provider-capabilities.json",
|
||||
capabilityMatrixPath: "crabline-channel-driver-capabilities.json",
|
||||
channel: "telegram",
|
||||
channelDriver: "crabline",
|
||||
smokeArtifactPath: "crabline-fake-provider-smoke.json",
|
||||
providerReadinessArtifactPath: "crabline-provider-readiness.json",
|
||||
},
|
||||
state: createQaBusState(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user