Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/e2e-live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ jobs:
e2e/version-pinning.spec.ts
e2e/share-view.spec.ts
e2e/style-panel.spec.ts
e2e/preview-scheme.spec.ts
e2e/preview-head-assets.spec.ts

# Container suites, one worker: each Tier-2 case holds a live-preview
Expand Down Expand Up @@ -175,10 +176,14 @@ jobs:
if: ${{ !inputs.smoke && env.BASE_URL != '' }}
env:
E2E_BASE_URL: ${{ env.BASE_URL }}
# The session-leak spec (DEV-2567) drives the API directly and reads
# the auth-gated /api/admin/sessions listing, so it rides this
# token-gated step rather than the anonymous suites.
E2E_API_BASE: ${{ env.BASE_URL }}
E2E_BROKER_TOKEN: ${{ secrets.E2E_BROKER_TOKEN }}
run: |
if [ -z "$E2E_BROKER_TOKEN" ]; then
echo "::notice::E2E_BROKER_TOKEN is not set — the authed share round-trip was skipped."
echo "::notice::E2E_BROKER_TOKEN is not set — the authed share round-trip and the session-leak spec were skipped."
exit 0
fi
code=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer $E2E_BROKER_TOKEN" \
Expand All @@ -193,7 +198,7 @@ jobs:
# and this repo is public. No traces, no retries, and every artifact
# of this step is scrubbed before the on-failure upload can see it.
status=0
pnpm e2e e2e/share-create-live.spec.ts --workers=1 --retries=0 --trace off || status=$?
pnpm e2e e2e/share-create-live.spec.ts e2e/session-abandoned-create.spec.ts --workers=1 --retries=0 --trace off || status=$?
rm -rf test-results playwright-report
exit $status

Expand Down
Loading