diff --git a/desktop/tests/e2e/profile.spec.ts b/desktop/tests/e2e/profile.spec.ts index 9f17f9e50..9c505bc9e 100644 --- a/desktop/tests/e2e/profile.spec.ts +++ b/desktop/tests/e2e/profile.spec.ts @@ -1865,7 +1865,7 @@ test("an older agent message opens the same persona instance as the Agents libra await page.goto("/"); await page.getByTestId("open-agents-view").click(); - await page.getByTestId(`persona-agent-row-${personaId}`).click(); + await page.getByTestId(`managed-agent-${currentPubkey}`).click(); await expect( page.getByTestId("user-profile-agent-primary-action"), ).toHaveAttribute("aria-label", "Stop");