-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Pages > Page Reviews
-
Labels:None
-
Test Type:
Main Requirement(s) covered:
- N/A - Fragment can be auto-saved in the content page.
Description: This case ensures a user can delete the previously created comment to a fragment after auto-save a content page.
Setup:
- Dependencies for the fragment.
- Add the file com.liferay.layout.content.page.editor.web.internal.configuration.ContentPageEditorCommentsConfiguration-default.config to bundles/osgi/configs with the property enabled=B"true"
Steps:
- Navigate to Site Builder > Pages
- Add a new content page
- Go to sections builder tab > expand Collection name
- Add "Title"
- Add "Rich Text"
- Click on Title's body > Click on Comments tab
- Leave a comment in the field, then save
- Click on Rich Text's body > Click on Comments tab
- Leave a comment in the field, then save
- Reply the comment for 4~5 times under Title
- Try to delete the third replied comment under Title
- Try to delete all the comment under Title
- Assert that There is a hint "Are you sure you want to delete this comment?" before deleting
- Go to Pages > Edit the draft content page
- Click on Rich Text's body > Click on Comments tab
- Reply the comment under Rich Text
- Try to delete all the comment under Rich Text
- Assert that There is a hint "Are you sure you want to delete this comment?" before deleting