From b2a23824c09fa2511aeb1349e1401024eaec0881 Mon Sep 17 00:00:00 2001 From: David Leuliette Date: Thu, 13 Jun 2024 10:37:41 +0200 Subject: [PATCH] fix(detox): sunset detox in ignite by default --- docs/recipes/DetoxIntro.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/recipes/DetoxIntro.md b/docs/recipes/DetoxIntro.md index 22cca27d..4380e8ab 100644 --- a/docs/recipes/DetoxIntro.md +++ b/docs/recipes/DetoxIntro.md @@ -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).