Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16328

Only save the video if the test failed when in CI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.2
    • Fix Version/s: 11.3-rc-1
    • Component/s: Test Framework
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Right now the video is saved even if the test succeeds.

      The idea is to have:

      • Take screenshot + save video all the time when executed locally (helps testing/debugging on local machine)
      • Take screenshot + save video only on failing test when executed in the CI (to save artifact archiving space and time)

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: