Details
-
Task
-
Resolution: Fixed
-
Major
-
11.10.13
-
Unknown
-
N/A
-
N/A
-
Description
The manual test is here: Show And Hide Minor Edits In History Tab
Existing automated coverage
- VersionIT#testRollbackDontMessUpRights: Opens the History tab, clicks "Show minor edits" (HistoryPane#showMinorEdits) and asserts the minor version 2.2 is listed among 3 versions (superadmin).
- VersionIT#testDeleteVersionDontMessUpRights: Show minor edits then asserts the version count includes the new minor version.
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).