Open stefanuebe opened 4 years ago
Workaround: Switching my OS and Chrome language to english solved that.
Would that be something that could be done in Chrome parameters?
I am not sure this is a bug. More like an enhancement to make tests works on different locals. Unfortunately, I can't test this locally, but there seems to be a lot of discussions at https://stackoverflow.com/questions/18645205/set-chromes-language-using-selenium-chromedriver and some indeed suggested that the accepted answer(a code snippet similar to Stefan't) didn't work for them
Maybe we should just change the test to use and override in English only?
Describe the bug Downloaded the latest LTS bakery app starter and tried to run the StorefronViewIT integration test. The test failed due to my language setting. The required field error message is localized based on the browser's language setting, but the test is always checking for English error messages - mine is German and thus make the test fail.
Log
To Reproduce Steps to reproduce the behavior:
Expected behavior The tests should be language independent or the chrome driver should be initialized to use "en" for tests.
Environment (please complete the following information):
Additional notes I'm trying to configure that by myself now for over an hour, it is not trivial.
Setting this for chrome driver didn't work, it is still showing German messages:
AbstractIT