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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(e2e): confirm Agent v2 version restoration tests (#42581)
Joel90f0494c819d
diff --git a/e2e/features/step-definitions/agent-v2/publish.steps.ts b/e2e/features/step-definitions/agent-v2/publish.steps.tsindex b715468b2c0..7faead97d26 100644--- a/e2e/features/step-definitions/agent-v2/publish.steps.ts+++ b/e2e/features/step-definitions/agent-v2/publish.steps.ts@@ -120,6 +120,11 @@ Then(When('I restore the selected Agent v2 version', async function (this: DifyWorld) {const page = this.getPage()const agentId = getCurrentAgentId(this)++ await page.getByRole('button', { name: 'Restore', exact: true }).click()+ const confirmDialog = page.getByRole('alertdialog', { name: /^Restore / })+ await expect(confirmDialog).toBeVisible()+const restoreResponse = page.waitForResponse((response) =>response.request().method() === 'POST' &&@@ -127,7 +132,7 @@ When('I restore the selected Agent v2 version', async function (this: DifyWorld)response.url().endsWith('/restore'),)- await page.getByRole('button', { name: 'Restore' }).click()+ await confirmDialog.getByRole('button', { name: 'Restore', exact: true }).click()const response = await restoreResponseexpect(response.ok()).toBe(true)})