-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Out of the box Fragments > Image
-
Labels:None
Product QA | Test Validation - Round 1
Bugs:
- PASS
- To Do
- FAIL
- Impeditive:
Ticket Title QA Status ? ? LPS-122343The file size is not responsive in automatic selection when change the width of viewport Verified
- Not impeditive:
Ticket Title QA Status ? ?
Context
When select an image in Image fragment, the best image resolution will be selected automatically.
Assume the width of Desktop viewport is v
Assume the original width of image as i
Assume the width of available image resolution are a and b. Additionally, a < b
- Applications Menu > Control Panel > Adaptive Media
- Add Image Resolution > Define Max Width in Size section
- Add a page based on Blank
- Add an Image fragment to page
- Click the editable field > Image tab
- Select an image
Test Cases | Conditions | Expected Automatic Selection of Image Resolution |
---|---|---|
Case 1 | i > v > a | i |
Case 2 | i > b > a > v | a |
Case 3 | v > i > a | i |
Case 4 | v > a > i | i |
Case 5 | a > i > v | i |
Case 6 | a > v > i | i |
Case 1
- Upload an image with width greater than 2000px
- Assert the Auto selected in Resolution field
- Assert the Width is the original width of image
- Assert the File Size has value
Case 2
- Add an image resolution with 800px Max Width
- Upload an image with width greater than 1000px
- Take down the number of File Size
- Change to the Tablet viewport
- Assert the Auto selected in Resolution field
- Assert the Width is 800px
- Assert the File Size become smaller
Case 3
- Add an image resolution with 600px Max Width
- Upload an image with width between 600px and 700px
- Change to the Tablet viewport
- Assert the Auto selected in Resolution field
- Assert the Width is the original width of image
- Assert the File Size has value
Case 4
- Add an image resolution with 600px Max Width
- Upload an image with width about 500px
- Change to the Tablet viewport
- Assert the Auto selected in Resolution field
- Assert the Width is the original width of image
- Assert the File Size has value
Case 5
- Upload an image with width between 600px and 700px
- Change to the Landscape viewport
- Assert the Auto selected in Resolution field
- Assert the Width is the original width of image
- Assert the File Size has value
Case 6
- Upload an image with width about 700px
- Change to the Tablet viewport
- Assert the Auto selected in Resolution field
- Assert the Width is the original width of image
- Assert the File Size has value