From 1880b97687c79f6c66be65660a620f4037fb4c37 Mon Sep 17 00:00:00 2001 From: sumit_chaturvedi Date: Wed, 25 Jun 2025 22:44:12 +0530 Subject: [PATCH] chore(UI): fix the env variable --- .github/workflows/ui-end2end.yml | 1 + ui/tests/e2e/auth/authentication.spec.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ui-end2end.yml b/.github/workflows/ui-end2end.yml index 554443dbeb..24d7dedfce 100644 --- a/.github/workflows/ui-end2end.yml +++ b/.github/workflows/ui-end2end.yml @@ -11,6 +11,7 @@ on: env: # Temporary secret for CI test runs only – replace with GitHub Secret later AUTH_SECRET: "N/c6mnaS5+SWq81+819OrzQZlmx1Vxtp/orjttJSmw8=" + API_BASE_URL: "http://localhost:8080/api/v1" SERVICES_TO_START: "api-dev postgres valkey worker-beat worker-dev" DOCKER_COMPOSE_FILE: "docker-compose-dev.yml" diff --git a/ui/tests/e2e/auth/authentication.spec.ts b/ui/tests/e2e/auth/authentication.spec.ts index 487c7785e9..963365133b 100644 --- a/ui/tests/e2e/auth/authentication.spec.ts +++ b/ui/tests/e2e/auth/authentication.spec.ts @@ -7,7 +7,7 @@ const testPassword = 'Testt@123456'; test.beforeAll(async () => { const apiContext = await request.newContext(); - await apiContext.post(`${process.env.API_BASE_URL}users`, { + await apiContext.post(`${process.env.API_BASE_URL}/users`, { headers: { 'Content-Type': 'application/vnd.api+json', 'Accept': 'application/vnd.api+json',