Update persona env vars e2e entry point

This commit is contained in:
klopez4212
2026-06-22 15:43:27 +01:00
parent 9c35cf2b4a
commit 5d0c4285d0
+3 -6
View File
@@ -224,13 +224,10 @@ test("env vars editor renders in PersonaDialog new-persona form", async ({
}) => {
await gotoApp(page);
// Open the Agents view, click New > Persona to open the persona dialog.
// Open the Agents view, click New Agent > Custom Agent to open the persona dialog.
await page.getByTestId("open-agents-view").click();
await page
.getByTestId("agents-library-personas")
.getByRole("button", { name: "New", exact: true })
.click();
await page.getByRole("menuitem", { name: /^Persona$/ }).click();
await page.getByTestId("new-agent-card").click();
await page.getByRole("menuitem", { name: "Custom Agent" }).click();
// The env vars editor should be present.
await expect(page.getByTestId("env-vars-editor")).toBeVisible();