Project

General

Profile

Actions

Bug #35630

closed

i18n automation failing due to internationalization of locators

Added by vijaykumar sawant about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Immediate
Category:
Internationalization
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

current_dynamic_locator.png View current_dynamic_locator.png 201 KB Current dynamic gui locators vijaykumar sawant, 10/13/2022 12:39 PM
expected_locators.png View expected_locators.png 115 KB Expected dynamic gui locators vijaykumar sawant, 10/13/2022 12:39 PM
Actions #1

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
Actions #2

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases 3.6.0 added
Actions #3

Updated by Maria Agaphontzev almost 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ewoud Kohl van Wijngaarden almost 2 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF