mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-04 21:22:07 +00:00
[fix] Add missing deployment-info artifact creation in playwright workflows
- Capture wrangler deployment URL output and save to GitHub outputs - Create deployment-info artifacts with test results and deployment URLs - Add test exit code tracking in test-ui.yaml workflow - Add PR number logging for debugging - Improve URL extraction with multiple patterns and fallback This fixes the issue where PR comments were missing deployment links because the deployment-info artifacts were never created.
This commit is contained in:
11
.github/workflows/test-ui.yaml
vendored
11
.github/workflows/test-ui.yaml
vendored
@@ -139,11 +139,20 @@ jobs:
|
||||
id: playwright
|
||||
run: npx playwright test --project=${{ matrix.browser }} --reporter=html
|
||||
working-directory: ComfyUI_frontend
|
||||
continue-on-error: true
|
||||
|
||||
- name: Save test exit code
|
||||
if: always()
|
||||
run: |
|
||||
echo "${{ steps.playwright.outcome == 'success' && '0' || '1' }}" > test-exit-code.txt
|
||||
echo "Test outcome: ${{ steps.playwright.outcome }}"
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always() # note: use always() to allow results to be upload/report even tests failed.
|
||||
with:
|
||||
name: playwright-report-${{ matrix.browser }}
|
||||
path: ComfyUI_frontend/playwright-report/
|
||||
path: |
|
||||
ComfyUI_frontend/playwright-report/
|
||||
test-exit-code.txt
|
||||
retention-days: 30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user