Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      LIMA | #38 | DEV | Jul06-Aug03, LIMA | #39 | DEV | Aug4-Sept07

      Description

      • Create the test scenarios to validate the parent story, according to the Acceptance Criteria.
      • Those test scenarios will be writing in the parent story.

      Test Scenarios: Users can enable the "Only Translated Hreflangs" feature from the system settings

      See: TranslationsSEO#CanViewTranslatedLanguageHreflangOnWidgetPage

      Test Scenarios: Users can enable the "Only Translated Hreflangs" feature from the instance settings

      See:TranslationsSEO#CanViewTranslatedLanguageHreflangOnContentPage

      Test Scenarios: Users can enable the "Only Translated Hreflangs" feature from the site settings

      See: TranslationsSEO#CanViewTranslatedLanguageHreflangOnDisplayPage

      Test Scenarios: Hreflang meta tag can be generated only for translated languages on the widget page

      See: TranslationsSEO#CanViewTranslatedLanguageHreflangOnWidgetPage

      Test Scenarios: Hreflang meta tag can be generated only for translated languages on the content page

      See: TranslationsSEO#CanViewTranslatedLanguageHreflangOnContentPage

      Test Scenarios: Hreflang meta tag can be generated only for translated languages on the display page

      See: TranslationsSEO#CanViewTranslatedLanguageHreflangOnDisplayPage

      Test Scenarios: Only the hreflang tag of the translated page is displayed when a user accesses an untranslated widget page

      Test Name:TranslationsSEO#CanViewTranslatedLanguageHreflangOnWidgetPage

      Test Steps:

      1. Enable Only Translated Hreflangs feature for portal
      2. Go to system settings> SEO> Enable Only Translated Hreflangs
      3. Add a widget page>Translate the title for Spain> Publish
      4. Logout the user
      5. Go to the page> View HTML console
      6. Assert only the translated languages and default language hreflang tag can be viewed
      7. Assert the Canonical URL correspond to the default language
      8. Access the untranslated page via link (http://localhost:8080/*ja*/web/guest/pageId)
      9. Assert only the translated languages and default language hreflang tag can be viewed

      Test Scenarios: Canonical URL will correspond to the default language when a user accesses an untranslated widget page

      See: TranslationsSEO#CanViewTranslatedLanguageHreflangOnWidgetPage

      Test Scenarios: Only the hreflang tag of the translated page is displayed when a user accesses an untranslated content page

      Test Name:TranslationsSEO#CanViewTranslatedLanguageHreflangOnContentPage

      Test Steps:

      1. Enable Only Translated Hreflangs feature for portal
      2. Go to instance settings> SEO> Enable Only Translated Hreflangs
      3. Add a content page> Add a fragment to the page
      4. Change the language to "es-ES"> Edit the content of the fragment
      5. Publish the page
      6. Logout user
      7. Go to the page> View HTML console
      8. Assert only the translated languages and default language hreflang tag can be viewed
      9. Assert the Canonical URL correspond to the default language
      10. Access the untranslated page via link (http://localhost:8080/*ja*/web/guest/content-page)
      11. Assert only the translated languages and default language hreflang tag can be viewed

      Test Scenarios: Canonical URL will correspond to the default language when a user accesses an untranslated content page

      See: TranslationsSEO#CanViewTranslatedLanguageHreflangOnContentPage

      Test Scenarios: Only the hreflang tag of the translated page is displayed when a user accesses an untranslated display page

      Test Name:TranslationsSEO#CanViewTranslatedLanguageHreflangOnDisplayPage

      Test Steps:

      1. Enable Only Translated Hreflangs feature for portal
      2. Go to site settings> SEO> Enable Only Translated Hreflangs
      3. Add a widget page and add an asset publisher widget
      4. Go to Design> page templates>display page templates
      5. Add a display page template for web content artic> Save
      6. Add a fragment to the edition page
      7. Change the language to "es-ES"> Edit the content of the fragment> Publish
      8. Set the display page template as the default
      9. Go to web content> Add an article
      10. Logout user
      11. Go to the page> Go to the web content article
      12. Check the hreflang tag in the HTML
      13. Assert only the translated languages and default language hreflang tag can be viewed
      14. Assert the Canonical URL correspond to the default language
      15. Access the untranslated page via link (http://localhost:8080/*ja*/web/guest/content-page)
      16. Assert only the translated languages and default language hreflang tag can be viewed

      Test Scenarios: Canonical URL will correspond to the default language when a user accesses an untranslated display page

      See: TranslationsSEO#CanViewTranslatedLanguageHreflangOnDisplayPage

      Test Scenarios: All languages hreflang meta tag will be displayed after disabling OTH from SEO settings

      Test Name:TranslationsSEO#CanViewAllHreflangsAfterDisabling

      Test Steps:

      1. Enable Only Translated Hreflangs feature for portal
      2. Go to system settings> SEO> Enable Only Translated Hreflangs
      3. Add a widget page>Translate the title for Spain> Publish
      4. Go to system ** settings> SEO> Disable Only Translated Hreflangs
      5. Logout the user
      6. Go to the page> View HTML console
      7. Assert all languages hreflang tag can be viewed

      Test Scenarios: All languages hreflang tag of an untranslated page can be viewed when the OTH is disabled

      Test Name:TranslationsSEO#CanViewPageDefaultHreflangs

      Test Steps:

      1. Enable Only Translated Hreflangs feature for portal
      2. Add a widget page and a content page
      3. Logout 
      4. Go to the widget page 
      5. Assert all languages hreflang tags can be viewed
      6. Go to the content page 
      7. Assert all languages hreflang tags can be viewed

       

        Attachments

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            alicia.garcia Alicia Garcia
            Recent user:
            Austin Chiang
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package