-
Bug
-
Resolution: Unresolved
-
Normal
-
1.10.0
-
False
-
-
False
-
-
-
Low
Description of problem:
Scorecard plugin e2e tests are skipped for German (de) and Spanish (es) because several translation keys are missing in those locales. The same keys exist in the English ref and in fr, it, and ja.
Missing keys to add in both de.ts and es.ts:
| Category | Key | Ref (English) value |
|---|---|---|
| emptyState | emptyState.button | View documentation |
| metric | metric.github.open_prs.title | GitHub open PRs |
| metric | metric.github.open_prs.description | Current count of open Pull Requests for a given GitHub repository. |
| metric | metric.jira.open_issues.title | Jira open blocking tickets |
| metric | metric.jira.open_issues.description | Highlights the number of critical, blocking issues that are currently open in Jira. |
| thresholds | thresholds.success | Success |
| thresholds | thresholds.warning | Warning |
| thresholds | thresholds.error | Error |
| thresholds | thresholds.noEntities | No entities in category state |
| thresholds | thresholds.entities_one | count entity |
| thresholds | thresholds.entities_other | count entities |
| errors | errors.metricDataUnavailable | Metric data unavailable |
| errors | errors.noDataFound | No data found |
(Optional, for completeness: permissionRequired.button, errors.authenticationError, errors.userNotFoundInCatalogMessage, errors.noDataFoundMessage, errors.authenticationErrorMessage.)
Location: workspaces/scorecard/plugins/scorecard/src/translations/de.ts and es.ts
Impact: All scorecard e2e tests are skipped for projects de and es. After these keys are added and translated, remove the beforeEach that calls skipIfLocales for ['de','es'] in scorecard.test.ts.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
# <steps>
Actual results:
Expected results:
Reproducibility (Always/Intermittent/Only Once):
Build Details:
Additional info (Such as Logs, Screenshots, etc):
- is related to
-
RHIDP-12537 [e2e] Update e2e tests to support German and spanish locale in rhdh-plugins repo
-
- Review
-