Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(desktop-app): match the run URL against the Control UI origin

Alfredo Lopez3a80c364876b
diff --git a/desktop-app/test/e2e-playwright/workflow-snippet-runtime-happy-path.test.ts b/desktop-app/test/e2e-playwright/workflow-snippet-runtime-happy-path.test.ts
index b54e22dfd..0a78ef8fd 100644
--- a/desktop-app/test/e2e-playwright/workflow-snippet-runtime-happy-path.test.ts
+++ b/desktop-app/test/e2e-playwright/workflow-snippet-runtime-happy-path.test.ts
@@ -812,7 +812,7 @@ async function downloadArtifactFromControlUiRun(
await openRun.click()
await expect(page).toHaveURL(
new RegExp(
- `^${escapeRegExp(CONTROL_UI)}/plugins/${RECIPE_NS}/${escapeRegExp(
+ `^${escapeRegExp(CONTROL_UI_ORIGIN)}/plugins/${RECIPE_NS}/${escapeRegExp(
recipeName
)}/runs/${escapeRegExp(runId)}$`
),