fix(e2e): use translated sidebar text for Extensions in localization tests#4512
Conversation
…tests
Replace hardcoded "Extensions" string with translated
`t["rhdh"][lang]["menuItem.extensions"]` in extensions.spec.ts.
The hardcoded English text passed in French (where "Extensions" is the same)
but failed in Italian ("Estensioni") and would fail in Japanese ("拡張機能"),
causing 15 test failures in showcase-localization-it.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
/agentic_review |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Type(Describe updated until commit 6252013)Bug fix Description
|
| Relevant files | |||
|---|---|---|---|
| Bug fix |
|
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
/test e2e-ocp-helm |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
/test e2e-ocp-helm-nightly |
|
/cherry-pick release-1.9 |
|
@zdrapela: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@zdrapela: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Incorporated in a different PR |



Summary
"Extensions"string with translatedt["rhdh"][lang]["menuItem.extensions"]inextensions.spec.tsshowcase-localization-itnightly jobRoot Cause
The
beforeEachhook inextensions.spec.tsused a hardcoded English string to open the Extensions sidebar:This worked in English and French (same word) but failed in Italian and Japanese where the sidebar text is translated.
Fix
Use the translation lookup instead:
Failing CI Job