diff --git a/desktop/tests/e2e/profile.spec.ts b/desktop/tests/e2e/profile.spec.ts index 04411720ac..511c6c5859 100644 --- a/desktop/tests/e2e/profile.spec.ts +++ b/desktop/tests/e2e/profile.spec.ts @@ -1871,7 +1871,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");