This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-7fdfa884-fe19-4a42-a058-d763deedd5cc XWIKI-25124 Open

Add automated test for "Mention an user from a subwiki"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e5469070-143f-4d4d-925c-e5a3bd983ab6 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Mention an user from a subwiki"
Issue Type: cid:jira-generated-image-avatar-7fdfa884-fe19-4a42-a058-d763deedd5cc Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:52
Labels: testneeded
Priority: cid:jira-generated-image-static-major-73c8fcbc-6431-4552-91f6-5c3d1b400864 Major
Reporter: Vincent Massol
Description:

The manual test is here: Mention an user from a subwiki

Existing automated coverage

Missing automated coverage

  • Create a subwiki and a local user UL1 on it with an email address; mail is configured on the main wiki only and GreenMail is used.
  • As UL1, turn on the Mentions alert and email toggles and turn the Pages toggles off.
  • As Admin, edit a subwiki page in CKEditor, type "@", pick UL1 from the dropdown and save.
  • Trigger the subwiki "Notifications daily email" job.
  • As UL1, assert that the mention notification is in the tray.
  • Assert that UL1 received the email with the mention (sent with the main-wiki mail configuration, see XWIKI-12435).

Suggested location: xwiki-platform-core/xwiki-platform-mentions/xwiki-platform-mentions-test/xwiki-platform-mentions-test-docker/src/test/it/org/xwiki/mentions/test/ui/MentionsIT.java (as a new @WikisSource test)

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).