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

Add automated test for "Chart Macro Bar Chart"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Chart Macro Bar Chart

      Existing automated coverage

      Missing automated coverage

      • Create a page and edit it with CKEditor; Insert > Other Macros, search for and select the Chart macro
      • Fill the macro form: Type = bar, Content = the 4x3 inline table from the manual test, Params = range:B2-D5;series:columns, Title = Chart; Submit
      • Save & View and assert the page has no rendering error and holds exactly one chart (ChartElement) whose title is "Chart" and whose image is loaded
      • Optionally assert the saved source holds the chart macro with type="bar"

      Suggested location: xwiki-platform-core/xwiki-platform-chart/xwiki-platform-chart-test/xwiki-platform-chart-test-docker/src/test/it/org/xwiki/chart/test/ui/ChartMacroIT.java

      Found by comparing the most-run manual tests (XWiki 16.x-18.x runs) against the automated tests on master (7c8ae46f525).

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: