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-138201

Test automation related to LPS-119066: 'As a content manager, I want to know how many SEO and accessibility related issues my page has'

Details

    • Technical Testing
    • Status: Closed
    • Minor
    • Resolution: Completed
    • None
    • None
    • SEO Tools > Page Audit
    • None

    Description

      Test case 1

      Given the Page Audit Panel
      When the user clicks on the language selector and selects other language
      Then the title of the page shows the matching translation (if existing), the URL changes (if localized URLs is enabled) and the API is called so the progress bar shows
      3 - Medium

      Test Name: AssertPageAuditLocale
      Steps for test automation:

      • Set Google PageSpeed API using PageAudit.setAPIViaSiteSettings macro
      • Add page name translation
        1. Open 'Configure Page' > General
        2. Change language of 'Name' input
        3. Set a 'Name' for selected language
        4. Click 'Save'
      • Change language of Page Audit
        1. Open 'Page Audit' sidebar
        2. Click on 'Language selector' button, and select the language previously translated
        3. Assert if title matches the 'Name' given previously
        4. Assert if URL has the location of its language (e.g. '/pt' for Brazil, 'es' for Spain)

      Attachments

        Issue Links

          Activity

            People

              luiz.queiroz Luiz Queiroz
              luiz.queiroz Luiz Queiroz
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package