Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: WCM > Fragments
    • Labels:
      None
    • Sprint:
      S01E04 - Turtles Swamp

      Description

      Bugs found:

      - PASS
      - To Do
      - FAIL

      • Impeditive:
        Ticket Title QA Status
        ? ?
        LPS-106375 Can't deploy a zip file of fragments that are available system wide Verified
      • Not impeditive:
        Ticket Title QA Status
        ? ?

      Case 1:
      A system administrator can deploy a zip file of fragments in the deploy folder that are available system wide for future and existing site instances

      1. Add a new site to liferay portal
      2. Create a ZIP file with different fragment files(and their configurations,html, etc.)
      3. Include a deployment descriptor file in JSON format called liferay-deploy-fragments.json
      4. Add
        {
        	"companyWebId": "*"
        }

        to the file

      5. Copy the ZIP file to the deploy folder
      6. Assert that the fragments have been deployed and all the fragments are automatically created
      7. Go to your created site and assert the fragments are visible in that site
      8. Create a new site
      9. Assert the fragments are visible in the new site

      Case 2:
      A system administrator can deploy a zip file of fragments in the deploy folder that are available system wide for future and existing virtual instances

      1. Add a new virtual instance to liferay portal
      2. Create a ZIP file with different fragment files(and their configurations,html, etc.)
      3. Include a deployment descriptor file in JSON format called liferay-deploy-fragments.json
      4. Add
        {
        	"companyWebId": "*"
        }

        to the file

      5. Copy the ZIP file to the deploy folder
      6. Assert that the fragments have been deployed and all the fragments are automatically created
      7. Go to your created instance and assert the fragments are visible
      8. Create a new virtual instance
      9. Assert the fragments are visible

      Case 3:
      A system administrator can deploy a zip file of fragments in the deploy folder that are available system wide with an empty json configuration file

      1. Create a ZIP file with different fragment files(and their configurations,html, etc.)
      2. Include an empty deployment descriptor file in JSON format called liferay-deploy-fragments.json
      3. Copy the ZIP file to the deploy folder
      4. Assert that the fragments have been deployed and all the fragments are automatically created
      5. Create a new site
      6. Assert the fragments are visible in the new site
      7. Create a new virtual instance 
      8. Assert the fragments are visible for that instance
      9. Go to global site and assert fragments are visible in global site

      Case 4:
      Fragments that have been deployed are visible in staged site

      1. Deploy a zip file of fragments
      2. Enable local live staging
      3. Add a content page with a deployed fragment and publish
      4. Publish site to live
      5. Assert fragment is displayed correctly

        Attachments

          Activity

            People

            • Assignee:
              brooke.dalton Brooke Dalton
              Reporter:
              manoel.cyreno Manoel Cyreno
              Recent user:
              Brooke Dalton
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package