My question is about configuring Cypress to launch a browser instance in a certain language.
In order to:
- make assertions on localized (i18n) text labels?
- check i18n features (switching between languages)
- bypass issues of Continuous Integration (CI/CD) when, for example, on
a local computer, the browser default to
fr_FR, and on the CI/CD VM it defaults toen_US?
I tried (without much success):
- using
LANGUAGE=en_USfrom the terminal invocation, - using the Browser's API plugin (see Cypress' browser launch API documentation)
Thanks!