-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Product Menu, Style Books
-
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 not preview style book when there are no pages in site
- Add a new site
- Product Menu > Design > Style Books
- Click the plus icon button
- Type name and Save
- Assert the following message shown in page preview iframe:
- You cannot preview the style book because there are no pages in this site.
Case 2:
Can preview the effect on page when edit the style book
- Add a new site
- Add a page based on Blank
- Add a Banner Center fragment to page
- Publish the page
- Product Menu > Design > Style Books
- Click the plus icon button
- Type name and Save
- Assert the new page is shown in page preview iframe
- Assert the Banner Center is shown in page preview iframe
- Select Color System in editor toolbar
- Type #FF0000 in Primary field of Theme Colors section
- Assert Draft Saved is shown in editor toolbar
- Assert the background color of link editable field in Banner Center is #FF0000
- Select Typography in editor toolbar
- Type 2rem in H1 Font Size field of Headings section
- Assert Draft Saved is shown in editor toolbar
- Assert the font size of Banner Title Example in Banner Center is 2rem
- Click Publish
- Assert success message is shown
- Assert the new style book is shown in Style Books admin
- Assert the new style book has Approved label
Case 3:
Can navigate to preview page via page preview info bar but not interact with preview page in style book editor
- Add a new site
- Add a page based on Blank
- Add a Banner Center fragment to page
- Publish the page
- Add a widget page
- Add a Blogs portlet to page
- Product Menu > Design > Style Books
- Click the plus icon button
- Type name and Save
- Assert the Banner Center is shown in page preview iframe
- Assert Page Preview info bar is below Control Menu
- Assert content page name is shown in Page Preview info bar
- Click the toggle button on Page Preview info bar
- Click the widget page
- Assert widget page name is shown in Page Preview info bar
- Assert the Blogs portlet is shown in page preview iframe
- Assert page name links are disabled in Navigation Menu portlet
- Assert New Entry button is disabled in Blogs portlet
Case 4:
Can preview the effect on page when edit the style book in Staging site
- Add a new site
- Enable Local Live
- Navigate to the Staging site
- Add a page based on Blank
- Add a Banner Center fragment to page
- Publish the page
- Product Menu > Design > Style Books
- Click the plus icon button
- Type name and Save
- Assert the new page is shown in page preview iframe
- Assert the Banner Center is shown in page preview iframe
- Select Color System in editor toolbar
- Type #FF0000 in Primary field of Theme Colors section
- Assert Draft Saved is shown in editor toolbar
- Assert the background color of link editable field in Banner Center is #FF0000
- Select Typography in editor toolbar
- Type 2rem in H1 Font Size field of Headings section
- Assert Draft Saved is shown in editor toolbar
- Assert the font size of Banner Title Example in Banner Center is 2rem
- Click Publish
- Assert success message is shown
- Assert the new style book is shown in Style Books admin
- Assert the new style book has Approved label