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): target agent roster list items (#41453)

yyh17ae89ff2256
diff --git a/e2e/features/step-definitions/agent-v2/agent-edit.steps.ts b/e2e/features/step-definitions/agent-v2/agent-edit.steps.ts
index 29cbc883992..0a30ed03150 100644
--- a/e2e/features/step-definitions/agent-v2/agent-edit.steps.ts
+++ b/e2e/features/step-definitions/agent-v2/agent-edit.steps.ts
@@ -86,7 +86,7 @@ When(
const copyName = createE2EResourceName('Agent', 'copy')
await page.goto('/agents')
- const card = page.getByRole('article', { name: agentName, exact: true })
+ const card = page.getByRole('listitem', { name: agentName, exact: true })
await expect(card).toBeVisible({ timeout: 30_000 })
await card.hover()