calabash / calabash-ios

Calabash for iOS
Other
1.81k stars 368 forks source link

RESET_BETWEEN_SCENARIOS works on physical devices? #1427

Open tkohout opened 3 years ago

tkohout commented 3 years ago

I am testing on physical devices with calabash-ios version 0.21.10.

I noticed that when I set RESET_BETWEEN_SCENARIOS=1 my app state is being reset (user being logged out).

In here: https://github.com/calabash/calabash-ios/blob/42c4dc71131488bb734a4fc49c5af22861f53c00/calabash-cucumber/ENVIRONMENT_VARIABLES.md it says When testing locally on physical devices, this variable is ignored.

It's great that we don't have to do custom backdoor, but I am wondering how is it possible that it works on local physical devices and whether the documentation should be changed.