Detox icon indicating copy to clipboard operation
Detox copied to clipboard

How to change time

Open abaddonGIT opened this issue 8 years ago • 2 comments

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

abaddonGIT avatar Nov 04 '18 03:11 abaddonGIT

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.

LeoNatan avatar Nov 04 '18 09:11 LeoNatan

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.

support avatar Nov 04 '18 09:11 support