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

Support screenshot tests of Vue components in the node tests

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 18.9.0
    • Node, Test Framework
    • None
    • Unknown

    Description

      Visual checks of Vue components, such as the small screen layout of the Live Data, can currently only be written as Docker functional tests with the ScreenshotComparator, e.g. SkinVisualIT#liveDataSmallScreen. Starting a whole XWiki instance to take a screenshot of a single component is slow and heavy.

      We should support screenshot tests directly in the node tests of the Vue components, e.g. with Vitest browser mode, so that such checks can run without an XWiki instance.

      Once available, SkinVisualIT#liveDataSmallScreen is a first candidate to move to the Live Data node tests.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Lucas C Charpentier Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: