Skip to content

Commit

Permalink
fix(detox): sunset detox in ignite by default
Browse files Browse the repository at this point in the history
  • Loading branch information
flexbox committed Jun 13, 2024
1 parent f41ed51 commit b2a2382
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/recipes/DetoxIntro.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,16 @@ Detox is a library for end-to-end testing of React Native apps. This wiki provid

Detox's [documentation for installation](https://wix.github.io/Detox/docs/introduction/getting-started/).

It's included [by default in Ignite](https://github.com/infinitered/ignite/tree/master/boilerplate/detox).

### What's unique about Detox

**Synchronization**
#### Synchronization

One of the key features that makes Detox unique is that it synchronizes with app state, so it can know when to move to the next step of a test, instead of including manual sleep statements. [See the documentation for more info](https://wix.github.io/Detox/docs/articles/how-detox-works/#how-detox-automatically-synchronizes-with-your-app).

But this does create new kinds of errors to be aware of. For example, if you see a Detox test hanging, that's an indication that Detox might not be detecting that the app went into the idle state so that the test can continue. To debug, check out [Detox's troubleshooting guide on sync issues](https://wix.github.io/Detox/docs/troubleshooting/synchronization).

** Flaky Tests **
**🚸 Flaky Tests**

The RNR team interviewed Rotem Meidan, former lead of Detox, about Detox stability, in [React-Native Radio 189](https://reactnativeradio.com/episodes/rnr-189-reliable-detox-with-rotem-opBGVWSK).

He wrote an article about that here: [Detox: Writing Stable Test Suites](https://medium.com/wix-engineering/detox-writing-stable-test-suites-372c9d537184)
He wrote an article about that here: [Detox: Writing Stable Test Suites](https://medium.com/wix-engineering/detox-writing-stable-test-suites-372c9d537184).

0 comments on commit b2a2382

Please sign in to comment.