Detox: Issue with setLocation (PR #532)
We are experiencing an issue with setLocation from PR #532 (https://github.com/wix/detox/pull/532).
The problem seems to be that the iOS simulator and fbsimctl use localised number formats. Meaning comma separated locations fail on our CI and dot separated locations fail locally (on a German machine).
I.E.
fbsimctl 417785CA-BB31-44D1-92FC-8D6F7A866562 set_location 12.345 12.345
works on our continuous integration system, but fails locally;
fbsimctl 417785CA-BB31-44D1-92FC-8D6F7A866562 set_location 12,345 12,345
works locally, but fails on CI.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 16 (9 by maintainers)
@LeoNatan Sure! here it is #1371
Just let me know if you need anything else in the request, I’m kinda new on that
@ayelenmarie Thanks for letting us know! Do you mind opening an enhancement request?
Hi ! Rather than changing my region to US in System Preferences, I used this workaround to make it work on both CI and local environment: