Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
-
None
Description
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 edit the text of dropdown button in Dropdown fragment
- Add a new site
- Add a master page
- Add a Dropdown fragment above the Drop Zone
- Click the body of Dropzone fragment
- DoubleClick the editable field of Dropzone fragment
- Type content instead of Dropdown
- Click the management bar to trigger draft saved
- Publish Master
- Add a page based on master page
- Assert the Dropdown fragment is shown in page
- Assert the new content is shown in Dropdown fragment
Case 2
Can define the displayed behavior of dropdown panel in Dropdown fragment
- Add a new site
- Add a master page
- Add a Dropdown fragment above the Drop Zone
- Click the toggle button of Dropdown fragment
- Assert the drop zone is shown in dropdown panel
- Click the toggle button of Dropdown fragment again
- Assert the dropdown panel is collapsed
- Publish Master
- Add a page based on master page
- Click the toggle button of Dropdown fragment
- Assert the dropdown panel is not shown
- Navigate to Page Templates admin
- Edit the master page again
- Click the body of Dropdown fragment > General tab
- Check the Display on Hover
- Hover on the toggle button of Dropdown fragment
- Assert the drop zone is shown in dropdown panel
- Move mouse outside of editable field of Dropdown fragment
- Assert the dropdown panel is collapsed
- Uncheck the Display on Hover
- Check the Keep Panel Open in Edit Mode
- Assert the drop zone is shown in dropdown panel
- Click the management bar to unselect the Dropdown fragment
- Assert the Dropdown fragment is unselected
- Assert the drop zone is shown in dropdown panel
- Click the body of Dropdown fragment > General tab
- Check the Display on Hover
- Assert the Keep Panel Open in Edit Mode is checked
- Assert the drop zone is shown in dropdown panel
Case 3
Can define the panel type of Dropdown fragment
- Add a new site
- Add a master page
- Add a Grid element above the Drop Zone
- Add a Dropdown fragment into the second module of Grid
- Click the body of Dropzone fragment
- Assert the Regular is selected in Panel Type field
- Click the toggle button of Dropdown fragment
- Inspect the dropdown fragment
- Assert the width: 240px is shown in style attribute
- Select the Full Width in Panel Type field
- Click the toggle button of Dropdown fragment
- Take down the width of col__border of the second module
- Inspect the dropdown fragment
- Assert the value of width equals the one of col_border
- Select the Mega Menu in Panel Type field
- Click the toggle button of Dropdown fragment
- Take down the width of layout viewport
- Inspect the dropdown fragment
- Assert the value of width equals the one of layout viewport
Case 4
Can add fragments into drop zone of Dropdown fragment
- Add a new site
- Add a master page
- Add a Dropdown fragment above the Drop Zone
- Click the body of Dropzone fragment > General tab
- Check the Keep Panel Open in Edit Mode
- Add a Menu Display fragment into dropzone of Dropdown fragment
- Assert the Menu Display is shown in dropzone panel
- Publish Master
- Add a page based on master page
- Assert the dropzone panel is collapsed
- Click the toggle button of Dropdown fragment
- Assert the Menu Display is shown in dropdown panel
- Publish the page
- Navigate to page in view mode
- Assert the dropzone panel is collapsed
- Click the toggle button of Dropdown fragment
- Assert the Menu Display is shown in dropdown panel