-
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
Can defined localized image description of image editable field
- Add a new site
- Add a page based on Blank
- Add an Image fragment to page
- Click the editable field of Image > Image Source tab
- Click the Select button of Image field > Documents and Media tab > Select File
- Upload an image > Add
- Type English content in Image Description field
- Click the outside of Image Descrition field to trigger draft saved
- Inspect the editable field element
- Assert English content is shown in alt attribute
- Change to es-ES via language selector on control menu
- Type Spanish content in Image Description field
- Click the outside of Image Descrition field to trigger draft saved
- Inspect the editable field element
- Assert Spanish content is shown in alt attribute
- Click the dropdown toggle of language selector
- Assert the es-ES has the translating label
- Change to en-US via language selector on control menu
- Assert the English content is shown in Image Descirption field
- Inspect the editable field element
- Assert English content is shown in alt attribute
- Change to es-ES via language selector on control menu
- Assert the Spanish content is shown in Image Descirption field
- Inspect the editable field element
- Assert Spanish content is shown in alt attribute
Case 2
Can export and import a fragment composition with localized image description of image editable field
- Add a new site
- Add a page based on Blank
- Add a Grid to page
- Add an Card fragment the second module of Grid
- Click the image editable field of Image > Image Source tab
- Click the Select button of Image field > Documents and Media tab > Select File
- Upload an image > Add
- Type English content in Image Description field
- Click the outside of Image Descrition field to trigger draft saved
- Inspect the image editable field element
- Assert English content is shown in alt attribute
- Change to es-ES via language selector on control menu
- Type Spanish content in Image Description field
- Click the outside of Image Descrition field to trigger draft saved
- Inspect the image editable field element
- Assert Spanish content is shown in alt attribute
- Click the ellipsis button on the topper of Grid > Save Composition
- Type name > Check Save Inline Content > Click Save
- Export the collection with fragment composition
- Add a new site
- Import the collection
- Add a page based on Blank
- Add the fragment composition to page
- Assert the fragment composition is rendered well
- Click the image editable field of Image > Image Source tab
- Assert the English content is shown in Image Descirption field
- Inspect the editable field element
- Assert English content is shown in alt attribute
- Change to es-ES via language selector on control menu
- Assert the Spanish content is shown in Image Descirption field
- Inspect the editable field element
- Assert Spanish content is shown in alt attribute