Details

    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

      1. Add a new site
      2. Add a public widget page
      3. Add a private widget page
      4. Add a navigation menu
      5. Add a URL type item
      6. Type Liferay in Name field
      7. Type http://liferay.com in URL field
      8. Add a custom master page
      9. Add a Menu Display fragment above the Drop Zone
      10. Assert the public page item is shown in Menu Display
      11. Click the body of Menu Display > General tab
      12. Assert the Public Pages Hierarchy is shown in Source field
      13. Click the plus icon of Source field > Site Menus tab
      14. Select Private Pages Hierarchy > Click Select This Level
      15. Assert the private page item is shown in Menu Display
      16. Assert the Private Pages Hierarchy is shown in Source field
      17. Click the plus icon of Source field > Site Menus tab
      18. Select the navigation menu > Click Select This Level
      19. Assert the Liferay is shown in Menu Display

      Case 2
      Can define Display Style of Menu Display

      1. Add a new site
      2. Add a parent widget page
      3. Add a child widget page
      4. Add a content page then publish
      5. Add a custom master page
      6. Add a Menu Display fragment above the Drop Zone
      7. Assert the parent widget page item and content page item are shown in Menu Display
      8. Hover on the dropdown toggle icon of parent widget page name
      9. Assert the child page item is shown in dropdown menu
      10. Click the body of Menu Display > General tab
      11. Assert the Horizontal is shown in Display Style field
      12. Select Stacked in Display Style field
      13. 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

      1. Add a new site
      2. Add a parent widget page
      3. Add a child widget page
      4. Add a grand child content page then publish
      5. Add a great grand child content page then publish
      6. Add a custom master page
      7. Add a Menu Display fragment above the Drop Zone
      8. Assert the parent widget page item is shown in Menu Display
      9. Hover on the dropdown toggle icon of parent widget page item
      10. Assert the child page, grand child page and great grand child page items are shown in dropdown menu
      11. Click the body of Menu Display > General tab
      12. Assert All is shown in Sublevels field
      13. Select 1 in Sublevels field
      14. Hover on the dropdown toggle icon of parent widget page name
      15. Assert only the child page item is shown in dropdown menu
      16. Select 0 in Sublevels field
      17. Assert the dropdown toggle icon is not shown in Menu Display

      Case 4
      Can define the item color styles in Menu Display

      1. Add a new site
      2. Add a widget page
      3. Add a custom master page
      4. Add a Menu Display fragment above the Drop Zone
      5. Click the body of Menu Display > Styles tab
      6. Click the color picker of Hovered Item Color
      7. Select the Warning
      8. Click the color picker of Selected Item Color
      9. Select the Success
      10. Hover on the widget page item
      11. Assert the color of widget page item is Warning
      12. Publish Master
      13. Add a content page based on the custom master page
      14. Publish the page
      15. Navigate to content page in view mode
      16. Assert the color of content page item is Success
      17. Hover on the content page item
      18. Assert the color of content page item is Warning
      19. Hover on the widget page item
      20. Assert the color of widget page item is Warning

      Case 5
      Can navigate via Menu Display in Staging and Live site

      1. Add a new site
      2. Add a navigation menu
      3. Add a custom master page
      4. Add a Menu Display fragment above the Drop Zone
      5. Click the plus icon of Source field > Site Menus tab
      6. Select the navigation menu > Click Select This Level
      7. Publish Master
      8. Add a widget page
      9. Check Add This Page to navigation menu
      10. Look and Feel tab
      11. Change Master to custom master page
      12. Add a content page based on custom master page
      13. Check Add This Page to navigation menu
      14. Publish the content page
      15. Navigate to Navigate Menus admin
      16. Click the ellipsis button of navigation menu > Edit
      17. Add a URL type item
      18. Type Liferay in Name field
      19. Type http://liferay.com in URL field
      20. Enable Local Live
      21. Navigate to the widget page in Staging site
      22. Assert the widget page, content page and Liferay items are shown in Menu Display
      23. Click the content page item
      24. Assert the page redirects to the content page
      25. Click the Liferay
      26. Assert the page redirects to http://www.liferay.com
      27. Navigate to the content page in Live site
      28. Assert the widget page, content page and Liferay items are shown in Menu Display
      29. Click the widget page item
      30. Assert the page redirects to the widget page
      31. Click the Liferay
      32. Assert the page redirects to http://www.liferay.com

      Attachments

        Activity

          People

            brian.chan Brian Chan
            david.gutierrez David Gutiérrez Mesa
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package