-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run tests with different locales on each run #683
Comments
@galfisher Both locale and language can be achieved in JavaScript alone, by adding support for the following launch arguments: |
Exactly, we should support this on both platforms though. |
Is there an ETA on this? I need to be able to change the language of the app between detox tests for my use case. It would be cool if this could be achieved by calling Since I'm only running my tests on an iOS simulator, I think it's possible to hack this in for the meantime by somehow awaiting Just curious - is there already a public detox API for awaiting custom xcrum commands I can use in the meantime? I feel like I saw something like that somewhere while browsing through the GH issues. |
I have a fork of Detox where I just passed a language parameter all the way down to AppleSimUtils where the app is magically launched with xcrun (haven't implemented on Android). I haven't opened a PR because this issue doesn't have the help wanted tag. Do you want me to open a PR? |
Yes please!!! |
BTW, seems like the Android solution is pretty straight forward as well, something like |
Cool! I went ahead and opened the PR. |
This issue can be closed :) |
No description provided.
The text was updated successfully, but these errors were encountered: