Skip to content

Commit 5da45b7

Browse files
loganjLarry
andcommitted
test: assert ACP alias in the published catalog projection
Co-authored-by: Larry <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz> Signed-off-by: Logan Johnson <[email protected]>
1 parent e367a8a commit 5da45b7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎desktop/tests/e2e/agents.spec.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,13 @@ test("an ACP-only edit publishes the selected transport", async ({ page }) => {
552552
expect(
553553
personas.find((persona) => persona.id === personaId)?.acp_command,
554554
).toBe("buzz-janet-acp");
555+
const publications = await invokeTauri<
556+
Array<{ sourcePersonaId: string; agent: { acpCommand?: string } }>
557+
>(page, "fetch_persona_catalog");
558+
expect(
559+
publications.find((entry) => entry.sourcePersonaId === personaId)?.agent
560+
.acpCommand,
561+
).toBe("buzz-janet-acp");
555562
});
556563

557564
test("the new team card offers create and import", async ({ page }) => {

0 commit comments

Comments
 (0)