Page MenuHomeIn-Portal Phabricator

INP-1736 - Make "\kNavigationBar::getCategoryParentPath" method language-aware
ClosedPublic

Authored by alex on Apr 5 2018, 9:38 AM.

Details

Test Plan

Preparations

  • in Admin Console
    1. go to ConfigurationWebsiteRegional section
    2. create a new language, that will have:
      • Pack Name: Russian
      • Local Name: Русский

Part 1

  • on Front-End (the "advanced" theme):
    1. go to homepage
    2. switch from current language into Russian language using language selector in header
    3. confirm, that page URL is .../russian/index.html
    4. click on the Directory item in menu
    5. confirm, that:
      • .../russian/directory.html page is opened
      • the breadcrumbs look like Home > Directory

Part 2

  • in Admin Console:
    1. go to Website & ContentStructure & Data section
    2. open Directory category for editing
    3. change language (in editing form) into Russian
    4. enter Директория as category title
    5. save changes
  • on Front-End (the "advanced" theme):
    1. go to homepage
    2. switch from current language into Russian language using language selector in header
    3. confirm, that page URL is .../russian/index.html
    4. click on the Directory item in menu
    5. confirm, that:
      • .../russian/directory.html page is opened
      • the breadcrumbs look like Home > Директория

Part 3

  • on Front-End (the "advanced" theme):
    1. go to homepage
    2. switch from current language into English language using language selector in header
    3. confirm, that page URL is .../index.html
    4. click on the Directory item in menu
    5. confirm, that:
      • .../directory.html page is opened
      • the breadcrumbs look like Home > Directory

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex created this revision.Apr 5 2018, 9:38 AM
alex edited the test plan for this revision. (Show Details)Apr 5 2018, 9:39 AM
erik accepted this revision.Apr 5 2018, 9:50 AM
This revision is now accepted and ready to land.Apr 5 2018, 9:50 AM
This revision was automatically updated to reflect the committed changes.