Skip to content

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

TypeScript

test(e2e): use mounted control api setup route

Alfredo Lopez9a2498cbc793
diff --git a/desktop-app/test/e2e-playwright/helpers/gfsDesktopOperatorParityFixtures.ts b/desktop-app/test/e2e-playwright/helpers/gfsDesktopOperatorParityFixtures.ts
index 7a563fbc8..0a8b9d929 100644
--- a/desktop-app/test/e2e-playwright/helpers/gfsDesktopOperatorParityFixtures.ts
+++ b/desktop-app/test/e2e-playwright/helpers/gfsDesktopOperatorParityFixtures.ts
@@ -236,7 +236,10 @@ export class GfsDesktopOperatorJourney {
}
async bootstrapInitialAdmin(): Promise<{ controlAdminId: string }> {
- const response = await fetch(`${this.controlApiUrl}/admin/auth/setup`, {
+ // The service base remains root-scoped so the global setup can probe
+ // /health; application routes are mounted under the production /api/v1
+ // prefix and must use that supported path explicitly.
+ const response = await fetch(`${this.controlApiUrl}/api/v1/admin/auth/setup`, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({