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',