react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

[WIP] E2E Test: Add tests for running real RN app

Open jhen0409 opened this issue 6 years ago • 1 comments

TODO

  • [x] Context Menu: should show AsyncStorage content as expected
  • [x] Context Menu: should clear AsyncStorage as expected
  • [x] Context Menu: should send Network request as expected if Network Inspsect enabled
  • [ ] Test with Redux DevTools
  • [x] Test with React DevTools
  • [ ] Test with Apollo Client DevTools
  • [ ] Run tests on CI
  • [ ] TestApp: Fix install errors on Node 9

Test plan

  • Use Detox to control the simulator
  • Use NativeModules.DevSettings.setIsDebuggingRemotely(true) to enforce app use debug mode
  • Use Spectron to launch RNDebugger
  • Test context menu functions (AsyncStorage / Networks Inspect)
  • Test with Redux / MobX app and Redux DevTools
  • Test React DevTools behavior
  • Test with Apollo Client DevTools

CI plan

  • It might running on macOS only
  • Followed the guide for running on CI

jhen0409 avatar Feb 03 '19 05:02 jhen0409

Hey @jhen0409, do you need any help regarding detox? If you have any questions feel free to ask.

I see that you are trying to use jest for detox, from my experience mocha works a lot more reliably.

Gongreg avatar Feb 14 '19 11:02 Gongreg