Bug #35630
closedi18n automation failing due to internationalization of locators
Description
Description of problem: i18n test automation framework is failing (blocker) due to semi-localized values of GUI element present on html page (screenshots attached).
Version-Release number of selected component (if applicable): latest (develop)
How reproducible: Always
Steps to Reproduce:
1. Login to Foreman/Satellite Web ui with any locale language.
2. Click on Monitor menu link, then inspect (or right-click on) any sub-menu link (ex- Monitor - Facts)
3. Observe the value of attribute id of a tag (from below html code)
<a id="menu_item_ファクト" href="/fact_values"><span class="list-group-item-value">»ファクト«</span></a>
Actual results:
<a id="menu_item_ファクト" href="/fact_values"><span class="list-group-item-value">»ファクト«</span></a>
Please see screenshot titled "current_dynamic_locators.png"
Expected results:
<a id="menu_item_facts" href="/fact_values"><span class="list-group-item-value">»ファクト«</span></a>
Please see screenshot titled "expected_locators.png"
Additional info:
[1] https://github.com/theforeman/foreman/blob/bcd468af8866bb2921effc2a7d4929539a2ad089/webpack/assets/javascripts/react_app/components/Layout/LayoutSelectors.js#L34
[2] https://github.com/theforeman/foreman/blob/bcd468af8866bb2921effc2a7d4929539a2ad089/locale/ja/foreman.po#L3018-L3019
Files
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Maria Agaphontzev
- Pull request https://github.com/theforeman/foreman/pull/9493 added
Updated by Maria Agaphontzev almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|f4ce3c514142a04e3f2154543ee62df919e7f6fb.
Updated by Ewoud Kohl van Wijngaarden almost 2 years ago
- Triaged changed from No to Yes