-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Product Menu
-
Labels:None
Bugs:
- PASS
- To Do
- FAIL
- Impeditive:
Ticket Title QA Status ? ? LPS-118787The custom style book is unavailable for page in Staging site Verified
- Not impeditive:
Ticket Title QA Status ? ?
Test Cases
Case 1:
Site Designer can create a style book
- Add a new site
- Design > Style Books > Click plus button
- Type name and Save
- Assert success message is shown
- Assert the name of style book is shown in control menu
- Type 5px 5px red in box-shadow-lg field
- Trigger draft saved
- Select colors
- Type 00FF00 in body-bg field
- Trigger draft saved
- Click Publish button
- Assert success message is shown
- Assert the new style book is shown in Style Books admin
Case 2:
Site Designer can rename a style book
- Add a new site
- Design > Style Books > Click plus button
- Type name and save
- Design > Style Books
- Assert the new style book is shown in Style Books admin
- Assert the style book has a Approved label
- Click the ellipsis button of style book
- Click Rename action
- Type name and Save
- Assert success message is shown
- Assert the new name is shown in style book card
- Assert the style book still has a Approved label
Case 3:
Site Designer can delete a style book
- Add a new site
- Design > Style Books > Click plus button
- Type name and save
- Design > Style Books
- Assert the new style book is shown in Style Books admin
- Click the ellipsis button of style book
- Click Delete action
- Assert success message is shown
- Assert the style book is missing
Case 4:
Site Designer can set a style book as default
- Add a new site
- Design > Style Books > Click plus button
- Type name and save
- Click Publish button
- Assert success message is shown
- Assert the new style book is shown in Style Books admin
- Click the ellipsis button of style book
- Click Mark as Default action
- Assert success message is shown
- Assert the check circle sticker is shown in style book card
Case 5:
Site Designer can change the thumbnail of a style book
- Add a new site
- Design > Style Books > Click plus button
- Type name and save
- Design > Style Books
- Assert the new style book is shown in Style Books admin
- Click the ellipsis button of style book
- Click Change Thumbnail action
- Select File > Select an image > Add
- Assert success message is shown
- Assert the thumbnail image is shown in style book card
Case 6:
Site Designer can edit a style book
- Add a new site
- Design > Style Books > Click plus button
- Type name and save
- Design > Style Books
- Assert the new style book is shown in Style Books admin
- Assert the style book has a Approved label
- Click the ellipsis button of style book
- Click Edit action
- Assert the name of style book is shown in control menu
- Type 5px 5px red in box-shadow-lg field
- Trigger draft saved
- Select colors
- Type 00FF00 in body-bg field
- Trigger draft saved
- Inspect <section class="Container"> element
- Assert body-bg is #00ff00 and box-shadow-lg is 5px 5px red
- Click Publish button
- Assert success message is shown
- Assert the new style book is shown in Style Books admin
- Assert the new style book has a Approved label
Case 7:
The data of Style Books is immediately available to Live site when manage it 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 Page
- Design > Style Books
- Assert the following warning message is shown in Style Books admin:
- The data of this portlet is not staged. Any data changes are immediately available to the Local Live site. The portlet's own workflow is still honored. Portlet setup is still managed from staging.
- Click plus button
- Type name and save
- Color System > Themecolors
- Type #00FF00 in Primary field
- Typography > Headings
- Type 2rem in H1 Font Size field
- Publish
- Assert the new style book is shown in Style Books admin
- Navigate to page in edit mode
- Click Page Design Options button from sidebar panel
- Style Books tab
- Assert the new style book card is shown
- Click the new style book card
- Click Publish
- Navigate to page in view mode
- Assert the background color of Go Somewhere is #00FF00
- Assert the font size of Banner Title Example in Banner Center is 2rem
- Publish to Live
- Navigate to page in Live site
- Assert the background color of Go Somewhere is #00FF00
- Assert the font size of Banner Title Example in Banner Center is 2rem
- Navigate to Staging site
- Design > Style Books
- Click the ellipsis button of style book > Edit action
- Type #FF0000 in Primary field
- Typography > Headings
- Type 1.5rem in H1 Font Size field
- Publish
- Navigate to page in Live site
- Assert the background color of Go Somewhere is #FF0000
- Assert the font size of Banner Title Example in Banner Center is 1.5rem
- Product Menu > Design
- Assert Style Books is not shown