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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 13.8-rc-1
    • 11.10.5
    • Test Framework
    • None
    • Unknown
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: