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

Test Automation LPS-134760 for "I want to know why Page Audit is not working so that I can fix the causes"

    Details

    • Type: Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SEO Tools > Page Audit
    • Labels:
      None

      Description

      To be written in the PageAudit.testcase file

      Test 1: Given the Page Audit panel
      When the API key is set but it is not valid
      Then the Page Speed API will show a 'Show details' link, that will display the info details of the error, provided by the API.

      1. Go to Product Menu > Control Panel > Configuration > Instance Settings
      2. Go to Content and Data > Pages
      3. Go to Site Scope > Google PageSpeed Insights
      4. Set an invalid API Key > Save (or Update)
      5. Go to Site
      6. Click on 'Page Audit' icon to open tab
      7. Click on Launch Page Audit
      8. When error hapends, click on 'Show Details'

      Test 2: Given the button Set API Key
      When a user with permissions to access System Settings clicks on it
      Then the user is lead to System Settings. (see LPS-135681)

      Test 3: Given the button Set API Key
      When a user with permissions to access Instance Settings clicks on it
      Then the user is lead to Instance Settings. (see LPS-135681)

      Test 4: Given the button Set API Key
      When a user with permissions to access Site Settings clicks on it
      Then the user is lead to Site Settings. (see LPS-135681)

      Test 5: Given the Page Audit panel in a private page
      Then the reload button won't be visible.

      1. Go to Site Menu > Site Builder > Pages
      2. Go to Pages > '+' > Private Page > Blank
      3. Set a Name > 'Add'
      4. Go to private site
      5. Click on 'Page Audit' icon to open tab
      6. Assert that reload button is not present

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luiz.queiroz Luiz Queiroz
              Reporter:
              luiz.queiroz Luiz Queiroz
              Recent user:
              Luiz Queiroz
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package