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
test: cover shared workflow app run (#35634)
yyhe2becd6746e1
diff --git a/.github/workflows/web-e2e.yml b/.github/workflows/web-e2e.ymlindex a634830fef4..bdc24887dbe 100644--- a/.github/workflows/web-e2e.yml+++ b/.github/workflows/web-e2e.yml@@ -13,7 +13,7 @@ concurrency:jobs:test:name: Web Full-Stack E2E- runs-on: depot-ubuntu-24.04+ runs-on: depot-ubuntu-24.04-4defaults:run:shell: bashdiff --git a/e2e/features/apps/share-app.feature b/e2e/features/apps/share-app.featureindex 22f89f7ebbe..1c707306ef4 100644--- a/e2e/features/apps/share-app.feature+++ b/e2e/features/apps/share-app.feature@@ -17,3 +17,10 @@ Feature: Share app publiclyGiven a workflow app has been published and shared via APIWhen I open the shared app URLThen the shared app page should be accessible++ @unauthenticated+ Scenario: Run a shared workflow app without authentication+ Given a workflow app has been published and shared via API+ When I open the shared app URL+ And I run the shared workflow app+ Then the shared workflow run should succeeddiff --git a/e2e/features/step-definitions/apps/share-app.steps.ts b/e2e/features/step-definitions/apps/share-app.steps.tsindex 24da05baab9..d5742bdaa8d 100644--- a/e2e/features/step-definitions/apps/share-app.steps.ts+++ b/e2e/features/step-definitions/apps/share-app.steps.ts@@ -37,3 +37,15 @@ Then('the shared app page should be accessible', async function (this: DifyWorldawait expect(this.getPage()).toHaveURL(/\/(workflow|chat)\/[a-zA-Z0-9]+/, { timeout: 15_000 })await expect(this.getPage().locator('body')).toBeVisible({ timeout: 10_000 })})++When('I run the shared workflow app', async function (this: DifyWorld) {+ const page = this.getPage()+ const runButton = page.getByTestId('run-button')++ await expect(runButton).toBeEnabled({ timeout: 15_000 })+ await runButton.click()+})++Then('the shared workflow run should succeed', async function (this: DifyWorld) {+ await expect(this.getPage().getByTestId('status-icon-success')).toBeVisible({ timeout: 55_000 })+})diff --git a/e2e/features/step-definitions/apps/workflow-run.steps.ts b/e2e/features/step-definitions/apps/workflow-run.steps.tsindex 584a33e7742..84c03bfa8fe 100644--- a/e2e/features/step-definitions/apps/workflow-run.steps.ts+++ b/e2e/features/step-definitions/apps/workflow-run.steps.ts@@ -12,8 +12,10 @@ Given('a minimal runnable workflow draft has been synced', async function (this:When('I run the workflow', async function (this: DifyWorld) {const page = this.getPage()- await page.getByText('Test Run').click()- await expect(page.getByText('Running').first()).toBeVisible({ timeout: 15_000 })+ const testRunButton = page.getByText('Test Run')++ await expect(testRunButton).toBeVisible({ timeout: 15_000 })+ await testRunButton.click()})Then('the workflow run should succeed', async function (this: DifyWorld) {