test(auth): add end-to-end coverage for authentication flows

This commit is contained in:
neon
2026-03-30 03:58:27 -06:00
parent b5cc1ef370
commit 4d58418b93
14 changed files with 1841 additions and 72 deletions
+4 -8
View File
@@ -3,8 +3,8 @@ name: E2E Runner (reusable)
on:
workflow_call:
inputs:
suite-script:
description: "pnpm root script to run (e.g. test:e2e:scanner)"
suite-id:
description: "E2E suite id from scripts/test/e2e-suites.mjs (e.g. scanner)"
required: true
type: string
check-name:
@@ -15,10 +15,6 @@ on:
description: "Name for the uploaded artifact"
required: true
type: string
junit-glob:
description: "Glob pattern for the JUnit XML report"
required: true
type: string
job-timeout-minutes:
description: "Job timeout in minutes"
required: false
@@ -69,14 +65,14 @@ jobs:
- name: Run e2e suite
shell: bash
run: pnpm run ${{ inputs.suite-script }}
run: pnpm run test:e2e -- ${{ inputs.suite-id }}
- name: Publish test report annotations
if: always()
uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2
with:
check_name: ${{ inputs.check-name }}
files: ${{ inputs.junit-glob }}
files: test-results/server/*-e2e-junit.xml
fail_on: nothing
comment_mode: off
+1 -2
View File
@@ -34,8 +34,7 @@ jobs:
scanner-file-ops-e2e:
uses: ./.github/workflows/e2e-runner.yml
with:
suite-script: test:e2e:scanner:file-ops
suite-id: scanner-file-ops
check-name: Server Scanner File Ops E2E
artifact-name: scanner-file-ops-e2e-report
junit-glob: test-results/server/scanner-file-ops-e2e-junit.xml
job-timeout-minutes: 60
+1 -2
View File
@@ -32,8 +32,7 @@ jobs:
scanner-e2e:
uses: ./.github/workflows/e2e-runner.yml
with:
suite-script: test:e2e:scanner
suite-id: scanner
check-name: Server Scanner E2E
artifact-name: scanner-e2e-report
junit-glob: test-results/server/scanner-e2e-junit.xml
job-timeout-minutes: 45