fix(desktop): update E2E test helper to use consolidated acpProvidersCatalog field

The onboarding E2E test passed `{ acpProviders: [] }` to the mock
bridge, but the bridge handler was renamed to read
`acpProvidersCatalog` during consolidation. The stale field name was
silently ignored, causing the default catalog (with available
providers) to be returned instead of an empty list.
This commit is contained in:
Will Pfleger
2026-05-22 17:31:00 -04:00
parent e10336d192
commit 39a7aa9015
2 changed files with 2 additions and 10 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ test("page 2 falls back to Doctor guidance when ACP tools are not installed", as
await installMockBridge(
page,
{
acpProviders: [],
acpProvidersCatalog: [],
},
{ skipOnboardingSeed: true },
);
+1 -9
View File
@@ -35,14 +35,6 @@ export const TEST_IDENTITIES = {
type BridgeMode = "mock" | "relay";
type MockAcpProvider = {
id: string;
label: string;
command: string;
binaryPath: string;
defaultArgs: string[];
};
type MockCommandAvailability = {
available?: boolean;
command?: string;
@@ -50,7 +42,7 @@ type MockCommandAvailability = {
};
type MockBridgeOptions = {
acpProviders?: MockAcpProvider[];
acpProvidersCatalog?: Record<string, unknown>[];
managedAgentPrereqs?: {
acp?: MockCommandAvailability;
mcp?: MockCommandAvailability;