Is there any way to keep state between restarting detox

Viewed 656

i have the authorization in the app and i need to check the screens after sign in. Is there any way to do it?

1 Answers

Every detox runs, it will reinstall the app. So if you want to continue testing the app without reinstall every runs, you can add --reuse flag on detox command. It will reuse installed app on your test device/simulator. You can read more about this on Detox documentation here.

Related