Detox tests React Native apps from inside an instrumented build. e2e tests your normal build from outside, with agent goals and exact checks.