diff --git a/.github/workflows/test-e2e-reusable.yml b/.github/workflows/test-e2e-reusable.yml index 4a5ede83f9a..1c73ba0ef15 100644 --- a/.github/workflows/test-e2e-reusable.yml +++ b/.github/workflows/test-e2e-reusable.yml @@ -61,8 +61,10 @@ on: env: NODE_OPTIONS: ${{ contains(inputs.runner, '2vcpu') && '--max-old-space-size=6144' || '' }} PLAYWRIGHT_WORKERS: ${{ inputs.workers != '' && inputs.workers || '2' }} - # Browser cache location - must match install-browsers script - PLAYWRIGHT_BROWSERS_PATH: packages/testing/playwright/.playwright-browsers + # Browser cache location - must match install-browsers script. + # Absolute so nested pnpm invocations (e.g. coverage shard runner) don't + # re-resolve a relative path against the package's INIT_CWD and double it. + PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/packages/testing/playwright/.playwright-browsers # docker-artifact loads the image locally as n8nio/n8n:local; unused in local mode. TEST_IMAGE_N8N: 'n8nio/n8n:local' N8N_SKIP_LICENSES: 'true'