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

In case of usage of @After* in tests screenshots are not showing the failure

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 11.10.5
    • Fix Version/s: None
    • Component/s: Test Framework
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      We are automatically taking a screenshot in case of test failure, in docker test or in standard test. However if we use an teardown method (@AfterEach), the screenshot shows what happens on this method, and not what actually fails.
      It's less a problem for docker tests since we have the full video, but still could be nice to have the screenshot taken on the failure.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              surli Simon Urli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Date of First Response: