Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
-
None
Description
Test Scenarios
Test Scenarios | Test Strategy | Kind of test | Is it covered by FrontEnd ? (JS-Unit) | Is it covered by BackEnd ? (unit or integration) | Could it be covered by POSHI? |
---|---|---|---|---|---|
Can select a navigation menu from existing ones in Menu Display fragment | Critical | Manual | No | No | Yes |
Can define Display Style of Menu Display | Critical | Manual | No | No | Yes |
Can define displayed sublevels in Menu Display | Critical | Manual | No | No | Yes |
Can define the item color styles in Menu Display | Critical | Manual | No | No | Yes |
Can navigate via Menu Display in Staging and Live site | High | Manual | No | No | Yes |
Test Cases
Case 1
Can select a navigation menu from existing ones in Menu Display fragment
- Add a new site
- Add a public widget page
- Add a private widget page
- Add a navigation menu
- Add a URL type item
- Type Liferay in Name field
- Type http://liferay.com in URL field
- Add a custom master page
- Add a Menu Display fragment above the Drop Zone
- Assert the public page item is shown in Menu Display
- Click the body of Menu Display > General tab
- Assert the Public Pages Hierarchy is shown in Source field
- Click the plus icon of Source field > Site Menus tab
- Select Private Pages Hierarchy > Click Select This Level
- Assert the private page item is shown in Menu Display
- Assert the Private Pages Hierarchy is shown in Source field
- Click the plus icon of Source field > Site Menus tab
- Select the navigation menu > Click Select This Level
- Assert the Liferay is shown in Menu Display
Case 2
Can define Display Style of Menu Display
- Add a new site
- Add a parent widget page
- Add a child widget page
- Add a content page then publish
- Add a custom master page
- Add a Menu Display fragment above the Drop Zone
- Assert the parent widget page item and content page item are shown in Menu Display
- Hover on the dropdown toggle icon of parent widget page name
- Assert the child page item is shown in dropdown menu
- Click the body of Menu Display > General tab
- Assert the Horizontal is shown in Display Style field
- Select Stacked in Display Style field
- Assert the parent widget page, child page and content page items are shown as list in Menu Display
Case 3
Can define displayed sublevels in Menu Display
- Add a new site
- Add a parent widget page
- Add a child widget page
- Add a grand child content page then publish
- Add a great grand child content page then publish
- Add a custom master page
- Add a Menu Display fragment above the Drop Zone
- Assert the parent widget page item is shown in Menu Display
- Hover on the dropdown toggle icon of parent widget page item
- Assert the child page, grand child page and great grand child page items are shown in dropdown menu
- Click the body of Menu Display > General tab
- Assert All is shown in Sublevels field
- Select 1 in Sublevels field
- Hover on the dropdown toggle icon of parent widget page name
- Assert only the child page item is shown in dropdown menu
- Select 0 in Sublevels field
- Assert the dropdown toggle icon is not shown in Menu Display
Case 4
Can define the item color styles in Menu Display
- Add a new site
- Add a widget page
- Add a custom master page
- Add a Menu Display fragment above the Drop Zone
- Click the body of Menu Display > Styles tab
- Click the color picker of Hovered Item Color
- Select the Warning
- Click the color picker of Selected Item Color
- Select the Success
- Hover on the widget page item
- Assert the color of widget page item is Warning
- Publish Master
- Add a content page based on the custom master page
- Publish the page
- Navigate to content page in view mode
- Assert the color of content page item is Success
- Hover on the content page item
- Assert the color of content page item is Warning
- Hover on the widget page item
- Assert the color of widget page item is Warning
Case 5
Can navigate via Menu Display in Staging and Live site
- Add a new site
- Add a navigation menu
- Add a custom master page
- Add a Menu Display fragment above the Drop Zone
- Click the plus icon of Source field > Site Menus tab
- Select the navigation menu > Click Select This Level
- Publish Master
- Add a widget page
- Check Add This Page to navigation menu
- Look and Feel tab
- Change Master to custom master page
- Add a content page based on custom master page
- Check Add This Page to navigation menu
- Publish the content page
- Navigate to Navigate Menus admin
- Click the ellipsis button of navigation menu > Edit
- Add a URL type item
- Type Liferay in Name field
- Type http://liferay.com in URL field
- Enable Local Live
- Navigate to the widget page in Staging site
- Assert the widget page, content page and Liferay items are shown in Menu Display
- Click the content page item
- Assert the page redirects to the content page
- Click the Liferay
- Assert the page redirects to http://www.liferay.com
- Navigate to the content page in Live site
- Assert the widget page, content page and Liferay items are shown in Menu Display
- Click the widget page item
- Assert the page redirects to the widget page
- Click the Liferay
- Assert the page redirects to http://www.liferay.com