mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Update persona env vars e2e entry point
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user