Is there any way to keep state between restarting detox

1.3k Views Asked by At

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

There are 1 best solutions below

1
On BEST ANSWER

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.