Post

I've completely reworked the core of Ennio. It's now much easier to get started. running e2e tests in react native has to be faster 🧵

0 reposts0 likes

1. I introduced Ennio a few weeks ago (still experimental). The long-term goal is to run e2e tests in a very fast and reliable way. The focus is on RN/Expo apps, but theoretically, it should now work with any iOS project (sim only).

2. It's no longer a native package, but a dev dependency (still requires idb right now, but no prebuilds). You can install it and test it in less than 10 seconds.

3. I had to rethink the initial architecture a lot. Now it doesn't make assumptions. The search no longer happens via the Fabric tree - it's based on a native UIView traversal. This works perfectly in React Native because, of course, any React Native component is a real native component.

4. Why? The prev idea is still my favorite but has a lot of edge cases (e.g. what about all the components that are undetected by a Fabric tree traversal?). Removing the newArch assumption also simplifies maintenance a ton and (potentially) opens the door to all native apps.