Adding debugging for e2e ui test

This commit is contained in:
yuneng-jiang 2026-01-17 14:04:55 -08:00
parent bb98a167b7
commit c4f254d9e4
2 changed files with 27 additions and 2 deletions

View file

@ -3637,13 +3637,37 @@ jobs:
--reporter=html \
--output=test-results
no_output_timeout: 120m
- run:
name: Debug Playwright artifact paths
when: always
command: |
echo "=== Working directory ==="
pwd
echo ""
echo "=== playwright-report directories ==="
find . -type d -name "playwright-report" -maxdepth 7 || true
echo ""
echo "=== test-results directories ==="
find . -type d -name "test-results" -maxdepth 7 || true
echo ""
echo "=== HTML report contents (if any) ==="
find . -type f -path "*playwright-report/index.html" || true
echo ""
echo "=== Disk usage summary ==="
du -sh \
litellm/ui/litellm-dashboard/e2e_tests 2>/dev/null || true
- store_artifacts:
path: ui/litellm-dashboard/e2e_tests/test-results
path: ~/project/litellm/ui/litellm-dashboard/test-results
destination: playwright-results
when: always
- store_artifacts:
path: ui/litellm-dashboard/e2e_tests/playwright-report
path: ~/project/litellm/ui/litellm-dashboard/playwright-report
destination: playwright-report
when: always
test_nonroot_image:

View file

@ -24,6 +24,7 @@ export default defineConfig({
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",
screenshot: "only-on-failure",
},
/* Configure projects for major browsers */