Details

    • Testing
    • Status: Closed
    • Minor
    • Resolution: Completed
    • None
    • None
    • Liferay Themes

    Description

      Context

      As we already know all the information that we need to start to investigate the epic, please...

      1. Hold a Kickoff meeting with Devs/PM/Design/Owners
      2. Debate/ask questions to the team about your doubts about how to test this epic
      3. Create Test scenarios / test cases
      4. Ask the team to review for feedback and check if we need to add more test 
      5. You may use the following as a template for topics to ask  spreadsheet
        1. Remember it is one template, so feel free to add more questions/information, remove unnecessary questions/information

       
      Output

      1. Our table with the Test scenarios / test cases to be validated in the validation phase.
        1. Follow the example that we have in this ticket - LPS-121721.
      2. After reviewed by team, add finalized table to parent epic description
      3. Add test cases to Test Map

       

      Requirement Test Case Covered by integration test? (Yes/No) Test Priority (business impact) Comments
      icon packs usage is activated on the admin page and it contains the main icon pack by default When navigating to Instance Settings - Icons Admin
      Then the Clay icon pack is visible
         5-critical  
      the main icon pack is not removable When navigating to Instance Settings - Icons Admin
      Then the Clay icon pack remove icon is inactive
         5-critical  
      icon packs usage is activated on the admin page and it contains the main icon pack by default Given on Instance Settings - Icons Admin
      When clicking on CLAY that includes n number of icons
      Then a table with all the n icons is visible
         4-high  
      icons from the main icon pack are not removable nor editable Given on Instance Settings - Icons Admin
      When the CLAY icon pack expanded
      Then all the icons are inactive for the edition/removal
         5-critical   
      it's possible to add icons from the main pack to other packs Given on Instance Settings - Icons Admin
      And Given on Add Icon Pack from existing icons module window with a valid name
      When creating an icon pack with n existing icons from CLAY
      Then the n icons are visible in the new icon pack
        3-medium  
      icon pack name has to be unique Given on Instance Settings - Icons Admin
      When creating a new icon pack with the name CLAY
      Then I see the message that the name cannot be duplicated
         5-critical  
      icon pack name has to be unique Given on Instance Settings - Icons Admin
      Given the icon pack ICONPACK1 created
      When creating New Pack from existing icons module window with the name ICONPACK1
      Then I see the message that the name cannot be duplicated
         5-critical  
      icon pack name has to be unique Given on Instance Settings - Icons Admin
      And Given on Add Icon Pack from existing icons module window leaving the name box empty
      When selecting n existing icons
      And When saving the choice
      Then a warning on the toast appears
      And Then the icon pack is not being created
         5-critical  
      it's possible to copy icons for whichever icon pack and include it to create a new one Given on Instance Settings - Icons Admin
      Given the icon pack ICONPACK1 created
      Given the icon pack ICONPACK2 created
      And Given on Add Icon Pack from existing icons module window with a valid name ICONPACK3
      When creating an icon pack with n existing icons from ICONPACK1 and ICONPACK2
      Then the n selected icons are visible in the new ICONPACK3
         4-high  
      it's possible to search icons in the packs Given on Instance Settings - Icons Admin
      Given icon pack ICONPACK1 with an icon add-role from CLAY created
      And Given icon pack ICONPACK2 without icon add-role from CLAY created
      When searching add-role in the search icon box
      Then CLAY and ICONPACK1 show 1 with an add-role icon visible after expanding
      And Then ICONPACK2 shows 0 with "No results found" after expanding
        4-high   
      it's possible to remove the icon pack Given on Instance Settings - Icons Admin
      And Given icon pack ICONPACK1 created
      When I click to remove the icon pack
      Then the icon pack is being removed
         4-high  
      icon name has to be unique in a pack Given on Instance Settings - Icons Admin
      Given icon pack ICONPACK1 with an icon add-role from CLAY created
      When I try to add the add-role icon to ICONPACK1 again
      Then no new icon is being added to the ICONPACK1
         5-critical  
      icons can be deleted Given on Instance Settings - Icons Admin
      Given icon pack ICONPACK1 with an icon add-role from CLAY created
      When I delete the add-role icon from ICONPACK1
      Then ICONPACK1 appears visible with 0 icons
         4-high   
      creating an icon pack with a sprite map is possible Given on Instance Settings - Icons Admin
      And Given on Add Icon Pack from sprite map with a valid name
      When I upload a valid sprite map file
      Then the icon pack is being created
      And Then the added icons are visible after expanding the icon pack
         5-critical  
      adding more icons to an icon pack from the sprite map is possible Given on Instance Settings - Icons Admin
      Given icon pack ICONPACK1 with the add-role icon from CLAY created
      When I Add Icons from a valid sprite map file
      Then the added icons are visible
         5-critical  
      each site should have a unique URL to a sprite map that joins multiple icon packs Given 1 icon pack created with the icon that is not in the CLAY pack
      When I add an HTML widget to the main page which includes the icon adding the global URL to its href
      Then the icon is being displayed properly
        5-critical   
      The Control panel should have its own site sprite map that uses clay Given I am on the control panel view
      When I go to the browser's console
      Then I can see that its icons come from a separate sprite map that uses clay
         5-critical  
      Updating an icon pack should invalidate the cache Given icons from the icon pack used on the page
      When removing this icon
      Then this icon is no longer visible on the page we put it on
         5-critical  
      Updating an icon pack should invalidate the cache Given icons from the icon pack used on the page
      When removing this icon pack
      Then none of those icons are no longer visible on the page
         5-critical  
      Updating an icon pack should invalidate the cache Given 3 icon packs created
      When I remove an icon from one of the icon packs
      Then only this one icon pack is revalidated 
        3-medium  
      The icon pack URL is /o/icons/site/2134.svg Given on the main page
      When inspecting the user icon on the top-right corner
      Then the xlink:href has a valid URL value
         4-high  
       CLAY package set as default in Icons Admin When on Site Settings --> Icons Admin
      Then CLAY icon package is set by default
         4-high  
      Icons from a custom package available on a site when added to Icons Admin Given an icon package package1 created
      Given on Configuration --> Site Settings --> Icons Admin
      Given adding package1 Available Icon Packs
      When adding an HTML element with the icon from package1 using /o/icons/site/siteID.svg#iconName path
      Then the icon is being displayed correctly
         4-high  
      Icons from a custom package available on a site only when added to Icons Admin Given an icon package package1 created
      Given on Configuration --> Site Settings --> Icons Admin
      Given package1 not Available Icon Packs
      When adding an HTML element with the icon from package1 using /o/icons/site/siteID.svg#iconName path in xlink:href
      Then the icon is not being displayed
         3-medium  

       

       

      Attachments

        Activity

          People

            magdalena.jedraszak Magdalena Jedraszak
            john.co John Co
            Magdalena Jedraszak Magdalena Jedraszak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package