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): align Agent v2 workflow access link locator (#43255)

Joelcf02d52d0d60
diff --git a/e2e/features/step-definitions/agent-v2/access-point-workflow.steps.ts b/e2e/features/step-definitions/agent-v2/access-point-workflow.steps.ts
index 65aac798785..1a587653425 100644
--- a/e2e/features/step-definitions/agent-v2/access-point-workflow.steps.ts
+++ b/e2e/features/step-definitions/agent-v2/access-point-workflow.steps.ts
@@ -37,7 +37,7 @@ Then(
if (reference.app_updated_at == null)
await expect(row.getByText('N/A', { exact: true })).toBeVisible()
else await expect(row.getByText('N/A', { exact: true })).not.toBeVisible()
- await expect(row.getByRole('link', { name: `Open ${workflowName} in Studio` })).toBeVisible()
+ await expect(row.getByRole('link', { name: `Open in Studio ${workflowName}` })).toBeVisible()
},
)
@@ -45,7 +45,7 @@ When(
'I open the Agent v2 Workflow access reference for {string}',
async function (this: DifyWorld, workflowName: string) {
const workflowLink = this.getPage().getByRole('link', {
- name: `Open ${workflowName} in Studio`,
+ name: `Open in Studio ${workflowName}`,
})
const [workflowPage] = await Promise.all([