Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-159418

Automation Test Creation | LPS-157057 Add supported query params to Headless Admin Content API Explorer

Details

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

    Description

      Create test automation to validate the critical test scenarios/cases of the related story.

      The focus of this task is to implement the CRITICAL and MAJOR tests of the parent story, but if you believe that can and have time to implement the lower priority tests please, create one more subtask to it, and go ahead! 

      • Create a subtask for each test case
      • Assign a subtask to yourself
      • Send to liferay-frontend and request QA reviewer
      • Close subtask when merged

      Test Scenarios:

       
      Test Scenarios:

      Requirement Test Case Covered by frontend/backend unit test? (Yes/No) Test Priority (business impact)
        Given a display page templates of a site
      When with curl I request getSiteDisplayPageTemplatesPage with restrictFields=actions,availableLanguages,creator,customFields,dateCreated,
      dateModified,displayPageTemplateKey,displayPageTemplateSettings,openGraphSettingsMapping,
      seoSettingsMapping,markedAsDefault,pageDefinition,settings,siteId,uuid
      Then in a response I receive a body with title field values only
         4
        Given a content structure created
      Given a structured content
      When with curl I request getSiteStructuredContentsPage with aggregationTerms=id
      Then in a response I receive numberOfOccurrences and term with correct value in facets fields
        4
        Given a content structure created
      Given a structured content
      When with curl I request getStructuredContentsVersionsPage with fields=id
      Then in a response I receive a id values only
         4

      Attachments

        Issue Links

          Activity

            People

              kevin.wan Kevin Wan
              kevin.wan Kevin Wan
              Kevin Wan Kevin Wan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package