Type: Technical Testing
Affects Version/s: None
Fix Version/s: None
Component/s: Pages > Page Editor
Create the test scenarios to validate the parent story, according to the Acceptance Criteria.
Those test scenarios will be writing in the parent story.
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.config Add a content page Add an Image frgament to page Go to image editable field Under Source Selection, select Direct Under Image, Click Select and add an image to Doucment and Media to be seleccted Assert there are fields for Resolution and Image Description Assert the image information: width, and weight is shown under resolution field
case 2 is tested in