Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1189

Create a test for l10n

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • UI
    • None
    • 4.5.0 Sprint 6, 4.5.0 Sprint 7

      Create a cypress test for l10n:

      • switch the browser language to one of the supported languages other than english, load the ui
      • check a couple of known strings are translated - pick so that we're testing at least one message from the API, and a couple of js t`` style and jsx <Trans> style translations (and if we have any plurals, that too)
      • (optional) loop over `availableLanguages` , reload the ui and check the same message is translated (not english, not empty) and different (unique between available languages); to catch one laguage failing to load, or being a copy of another
      • test fixed bug from https://issues.redhat.com/browse/AAH-1069 as well

            hhummel@redhat.com Henderson Hummel (Inactive)
            mhradil-1 Martin Hradil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: