diff --git a/Makefile b/Makefile index b20287474a..a01e00f090 100644 --- a/Makefile +++ b/Makefile @@ -556,7 +556,7 @@ test-mssql-migration: migrations.mssql.test migrations.individual.mssql.test .PHONY: test-e2e test-e2e: deps-frontend @$(NODE_VARS) pnpm exec playwright install --with-deps chromium $(PLAYWRIGHT_FLAGS) - EXECUTABLE=./$(EXECUTABLE) ./tools/test-e2e.sh $(E2E_FLAGS) + EXECUTABLE=$(EXECUTABLE) ./tools/test-e2e.sh $(E2E_FLAGS) .PHONY: bench-sqlite bench-sqlite: integrations.sqlite.test generate-ini-sqlite diff --git a/tools/test-e2e.sh b/tools/test-e2e.sh index b6eecd08bd..24a9a65162 100755 --- a/tools/test-e2e.sh +++ b/tools/test-e2e.sh @@ -1,6 +1,8 @@ #!/bin/bash set -euo pipefail +EXECUTABLE="./${EXECUTABLE}" + # Determine the Gitea server URL, either from E2E_URL env var or from custom/conf/app.ini if [ -z "${E2E_URL:-}" ]; then INI_FILE="custom/conf/app.ini"