Detox
Detox copied to clipboard
How to change time
Description
I need to implement the following scenario:
- go to a specific screen
- minimize application
- Change time
- open application
- go to the same screen
I wanted to use bash to change time, but how does it tie everything together with detox. Maybe someone had a similar experience?
Detox, Node, Device, Xcode and macOS Versions
- Detox: 8.0.0
- React Native: 0.56
- Node: 10.13.0
- Device: Iphone simulator 6
- Xcode: 9.4
- macOS: 10.14
Since this is not something we can do in the Detox API (it is impossible to change time just for the simulator), this sounds like a question more suitable for Stack Overflow.
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the detox tag.