Ilie Andriuta This is already automated, please mark it as such.
Details:
Your instinct is correct — the feature is already covered
The "Make Version Summaries Mandatory" feature (editcomment_mandatory wiki preference) already has automated functional test coverage for the two editors that matter most:
┌────────────────────────────────────────────────────────┬───────────────────────────────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Editor │ Test │ Coverage │
├────────────────────────────────────────────────────────┼───────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ In-place editor (default when creating/editing a page) │ InplaceEditIT.editInPlaceWithMandatoryVersionSummary() │ ✅ Full: enables editcomment_mandatory, save blocked, empty re-prompts, dismiss cancels, providing summary saves, reset to optional │
├────────────────────────────────────────────────────────┼───────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Realtime WYSIWYG (CKEditor) │ RealtimeWYSIWYGEditorIT.mandatoryTitleAndVersionSummary() │ ✅ Full: modal + shortcut alert + autosave + Done button │
└────────────────────────────────────────────────────────┴───────────────────────────────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
There's even a shared page-object helper EditPage.waitForVersionSummaryAlert() (added in 18.1.0RC1 / 17.10.4 / …) asserting the exact "Enter a brief description of your changes" message from the manual test.
The manual test (XWIKI-18715) is generic ("create a page, Save & View → blocked with prompt"). Since creating a page uses the in-place editor by default, InplaceEditIT.editInPlaceWithMandatoryVersionSummary() is effectively the migration of that manual test.
The one gap
The classic wiki (source) editor has no test for the mandatory-summary blocking behavior. WikiEditIT only covers showing/hiding the comment field (showAndHideEditComments) and mandatory title (mandatoryTitle) — not mandatory summary. All editors share the same actionButtons.js validateForm() prompt mechanism
(already exercised by the in-place test), so this gap is minor/defense-in-depth.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.