This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-ef04b043-19eb-4830-b878-8ff1b46f2daa XWIKI-25153 Open

Add automated test for "Create Page And Search"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-509b75f9-33b3-4e2d-b521-029592efbcb4 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Create Page And Search"
Issue Type: cid:jira-generated-image-avatar-ef04b043-19eb-4830-b878-8ff1b46f2daa 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-3c87bec5-02f0-4047-a740-9297da453337 Major
Reporter: Vincent Massol
Description:

The manual test is here: Create Page And Search

Existing automated coverage

Missing automated coverage

  • With the default English locale, create a WebHome page and a terminal page, each with a title and content; wait for the Solr queue
  • Search a title word on the Solr search page and assert it is highlighted in the result title for both pages
  • Search a content word and assert it is highlighted in the result snippets for both pages
  • Optionally assert the same highlights in the quick search suggestions

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

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