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

Add automated test for "Show And Hide Minor Edits In History Tab"

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The manual test is here: Show And Hide Minor Edits In History Tab

      Existing automated coverage

      Missing automated coverage

      • Create a page with major and minor versions (e.g. 1.1, 1.2 minor, 2.1)
      • Open History as a simple user and assert only major versions are listed by default (1.2 absent)
      • Click "Show minor edits" and assert the minor versions are listed
      • Click "Hide minor edits" (add HistoryPane#hideMinorEdits, button name hideMinorVersions) and assert the minor versions are hidden again

      Related closed issues: XWIKI-18795, Different manual test (Disable Minor Edits in Administration), not the History tab show/hide toggle.

      Suggested location: xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/VersionIT.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

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

            Dates

              Created:
              Updated:
              Resolved: