Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
-
None
Description
Bugs:
- PASS
- To Do
- FAIL
- Impeditive:
Ticket Title QA Status ? ?
- Not impeditive:
Ticket Title QA Status ? ?
Test Cases
Case1 :
Can search text inside a Collection Display fragment with Keywords in Filter fragment
- Enable collection filter fragment with this gogoshell command:
"scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer" - Add a blank site
- Add a blog, fill blog content as content
- Add a web content with text > title : Web Content Title content: web content content
- Add a dynamic collection with all types
- Add a content page and a collection display to page
- Select the created collection
- Add a content display fragment to collection display
- Add a collection filter to page
- Select created collection as Target Collection
- Select None for Filter
- Publish content page
- Assert no results
- Edit content page and Select Keywords for Filter
- Click the Preview button
- Search web
- Assert only web content displays
- Publish content page
- Search web
- Assert only web content displays
- Edit content page and Select Keywords for Filter
- Click the Preview button
- Search content
- Assert web content and blog display
- Publish content page
- Search content
- Assert web content and blog display
Case2 :
Can not search text not in a Collection Display fragment with Keywords in Filter fragment
- Enable collection filter fragment with this gogoshell command:
"scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer" - Add a blank site
- Add 2 basic web contents and 1 blog
- Add a dynamic collection with Web Content Article and Basic Web Content
- Add a content page and add a collection display
- Select the created collection as Collection
- Add a content display collection display
- Add a collection filter
- Select the created collection as target collection
- Select keywords for the filter
- Click the Preview button
- Search the content/title in blog
- Assert no results
- Publish the page and search the content/title in blog
- Publish content page
- Assert no results
Case3 :
Can search text inside a Collection Display fragment with multiple keywords in Filter fragment
- Enable collection filter fragment with this gogoshell command:
"scr:enable com.liferay.fragment.renderer.collection.filter.internal.CollectionFilterFragmentRenderer" - Add a blank site
- Add a basic web content with title : web title 1, content: dessert
- Add a basic web content with title : web title 2, content: main dish
- Add a document 1 with descrition> dessert
- Add a document 2 with descrition> main dish
- Add a dynamic collection with all types
- Add a content page and a collection display to page
- Select the created collection
- Add a content diplay fragment to collection display
- Add a collection filter to collection display
- Select created collection as Target Collection
- Select Keywords for Filter
- Add a second collection filter to collection display
- Select created collection as Target Collection
- Select Keywords for Filter
- Click the Preview button
- Search dessert in first collection filter
- Assert web title 1 and document 1 display
- Also search main dish in second collection filter
- Assert document 1, document 2 and web title 1 and web title 2 display
- Publish content page
- Search dessert in first collection filter
- Assert web title 1 and document 1 display
- Also search main dish in second collection filter
- Assert document 1, document 2 and web title 1 and web title 2 display