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: failed e2e test in agent caused by changed copywriting (#41187)

Joele25ca611d893
diff --git a/e2e/features/step-definitions/agent-v2/build-draft.steps.ts b/e2e/features/step-definitions/agent-v2/build-draft.steps.ts
index 5de92e42562..2ec1e1c45f5 100644
--- a/e2e/features/step-definitions/agent-v2/build-draft.steps.ts
+++ b/e2e/features/step-definitions/agent-v2/build-draft.steps.ts
@@ -280,10 +280,9 @@ Then('I should see the Agent v2 Build mode confirmation state', async function (
await expect(page.getByText('Build mode', { exact: true })).toBeVisible()
await expect(
- page.getByText('Configure can only be updated by the agent in this mode.'),
- ).toBeVisible()
- await expect(
- page.getByText('Shape this setup through the chat on the right, then Apply.'),
+ page.getByText(
+ "You're in Build mode. Shape this setup by chatting with the agent, then Apply.",
+ ),
).toBeVisible()
})