Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-137279 Test automation related to Page Audit
  3. LPS-138212

Test automation related to LPS-135681: 'When I get the invalid API error in the Page Audit panel I want to be redirected to Site settings so I can fix the problem'

    Details

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

      Description

      Test case 1

      Given the Page Audit panel when the invalid API Key error is retrieved
      When the user clicks on the Set API Key button
      Then the user navigates to Site settings > Pages > Google PageSpeed Insights tab
      3 - Medium

      Test Name: InvalidAPIKeyErrorIsRecovered
      Steps to reproduce:

      • Set Google PageSpeed Insights
        1. Go to Site Menu > Configuration > Site Settings > Pages > Site Scope > Google PageSpeed Insights
        2. Check Google PageSpeed Insights input
        3. Set invalid API Key
        4. Click 'Save'/'Update'
      • (Try to) Run Page Audit
        1. Go to site
        2. Set a canonical URL using PageAudit.setSEOcanonicalURL macro ( check here )
        3. (Try to) Run Page Audit
        4. When error occurs, click on 'Set API Key'
      • Assert if it is being redirected to 'Site settings > Pages > Google PageSpeed Insights tab'

        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