Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(e2e): follow agent roster create menu (#39020)

yyhfe96bea1f0de
diff --git a/e2e/features/step-definitions/agent-v2/agent-roster.steps.ts b/e2e/features/step-definitions/agent-v2/agent-roster.steps.ts
index 97351d72a62..25c0cb69973 100644
--- a/e2e/features/step-definitions/agent-v2/agent-roster.steps.ts
+++ b/e2e/features/step-definitions/agent-v2/agent-roster.steps.ts
@@ -11,7 +11,8 @@ When('I create an Agent v2 test agent from the Agent Roster', async function (th
const agentDescription = 'Created by Dify E2E through the Agent Roster UI.'
await page.goto('/agents')
- await page.getByRole('button', { name: 'Create agent' }).click()
+ await page.getByRole('button', { name: 'Create' }).click()
+ await page.getByRole('menuitem', { name: 'Create from Blank' }).click()
const dialog = page.getByRole('dialog', { name: 'Create agent' })
await expect(dialog).toBeVisible()