From 6080343eafcb642bccd459079d7e5a0d1a0661ae Mon Sep 17 00:00:00 2001 From: sumit_chaturvedi Date: Tue, 24 Jun 2025 19:36:05 +0530 Subject: [PATCH] chore(e2e): add temporary AUTH_SECRET for Playwright E2E test runs --- .github/workflows/ui-end2end.yml | 2 ++ ui/tests/e2e/global-setup.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ui-end2end.yml b/.github/workflows/ui-end2end.yml index 56454d94cb..554443dbeb 100644 --- a/.github/workflows/ui-end2end.yml +++ b/.github/workflows/ui-end2end.yml @@ -9,6 +9,8 @@ on: - 'ui/**' env: +# Temporary secret for CI test runs only – replace with GitHub Secret later + AUTH_SECRET: "N/c6mnaS5+SWq81+819OrzQZlmx1Vxtp/orjttJSmw8=" SERVICES_TO_START: "api-dev postgres valkey worker-beat worker-dev" DOCKER_COMPOSE_FILE: "docker-compose-dev.yml" diff --git a/ui/tests/e2e/global-setup.ts b/ui/tests/e2e/global-setup.ts index eb3cf7b4d7..429e3a05c7 100644 --- a/ui/tests/e2e/global-setup.ts +++ b/ui/tests/e2e/global-setup.ts @@ -12,7 +12,7 @@ async function globalSetup(config: FullConfig) { // Start Docker containers (for CI or non-local runs) console.log('Starting Docker containers...'); execSync( - 'docker-compose -f ../docker-compose-dev.yml up -d --build api-dev postgres valkey worker-beat worker-dev', + 'docker compose -f ../docker-compose-dev.yml up -d --build api-dev postgres valkey worker-beat worker-dev', { stdio: 'inherit' } );