Make WordPress Core

Changeset 55991


Ignore:
Timestamp:
06/22/2023 10:35:44 PM (15 months ago)
Author:
peterwilsoncc
Message:

Build/Test Tools: Store artefacts of failing E2E test runs.

Modify the E2E workflow to store the screenshots and HTML files generated during failing tests as an artifact in the workflow.

No artefact is stored for passing test runs.

Props peterwilsoncc, isabel_brison.
Fixes #58596.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/end-to-end-tests.yml

    r55717 r55991  
    111111        run: npm run test:e2e
    112112
     113      - name: Archive debug artifacts (screenshots, HTML snapshots)
     114        uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
     115        if: always()
     116        with:
     117            name: failures-artifacts
     118            path: artifacts
     119            if-no-files-found: ignore
     120
    113121      - name: Ensure version-controlled files are not modified or deleted
    114122        run: git diff --exit-code
Note: See TracChangeset for help on using the changeset viewer.