-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Pages > Page Editor
-
Labels:None
Create the test scenarios to validate the parent story, according to the Acceptance Criteria.
Those test scenarios will be writing in the parent story.
Test Cases
Case 1: Could view image resolution for images mapped to web content.
- Enable feature flag com.liferay.layout.content.page.editor.web.internal.configuration.FFLayoutContentPageEditorConfiguration.config
- Add a web content structure with image and text field
- Add a web content basing on the structure
- Add a content page
- Add an Image frgament to page
- Go to image editable field
- Under Source Selection, select Mapping
- Under Content, select the added web content
- Under Field, select the image field in web content
- Assert there is field for Resolution
- Assert the image information: width, and weight is shown under resolution field
Case 2: Could view image resolution for images added directly.
Enable feature flag com.liferay.layout.content.page.editor.web.internal.configuration.FFLayoutContentPageEditorConfiguration.configAdd a content pageAdd an Image frgament to pageGo to image editable fieldUnder Source Selection, select DirectUnder Image, Click Select and add an image to Doucment and Media to be selecctedAssert there are fields for Resolution and Image DescriptionAssert the image information: width, and weight is shown under resolution field
case 2 is tested in LPS-121613.