Detox: tackling the flakiness of mobile automation - Viktorija Sujetaitė
Вставка
- Опубліковано 10 лют 2025
- As the number of smartphone users is expected to hit the 5 billion mark next year, we can confidently assume that the popularity and demand of mobile apps will continue to grow. Naturally, mobile apps do require testing, but a lot of it is done manually. The most difficult part of automated testing on mobile, is only the tip of the testing pyramid - E2E tests. The core of the problem with E2E is flakiness, which results in unreliable tests.
At Wix, we believe the only way to tackle this flakiness head on is by moving from black box testing to gray box testing. And for that, React Native mobile apps automation library - Detox - is being created.
Bio:
Viktorija is a Mobile QA Engineer at Wix. After gaining experience in Web and Windows desktop apps testing, she followed her passion for technology and trends to work with mobile apps. At Wix, she’s making mobile automation an inseparable part of the QA cycle - working with Detox and teaching others to work with it.
For more engineering updates and insights:
Follow us on Twitter → / wixeng
Subscribe our monthly newsletter → www.wix.engine...
Visit our blog → www.wix.engine...
Follow our Medium publication → / wix
For more engineering updates and insights:
* Visit our blog: www.wix.engineering/blog
* Follow us on: Twitter: twitter.com/WixEng
* Visit us on GitHub: github.com/wix
* Subscribe to our monthly newsletter: www.wix.engineering/subscribe
* Follow our Medium publication: medium.com/wix-engineering
* Listen to our podcast: www.wix.engineering/podcast
* LinkedIn: www.linkedin.com/showcase/wix-engineering/
Clear, structured and well understandable presentation that nicely describes main sides of Detox.
Thank you.
This is a terrific video explaning the basics of Detox in the context of React Native apps, great work!
Thanks!
Is there any way we can mock the api.
Great stuff - thanks a lot for this talk
Good demo! Just what I needed!
Hello Victoria, is there somewhere I can get online training for detox?
Really useful information, thanks. Where can I find the slideshow?
That girl is quite impressive ! Nice presentation , cool tool.
For the 'Log Out' button, why is the withAncestor necessary, shouldn't we be able to match the element by.text only?
Hello,
It's very nice presentation.
Could you help me in generating test report for the detox with jest.
Which reporting tool will work.
Also brief about the traits where it can be used.
How you store and access the testID
I suggest you ask this on Stack Overflow, using the `detox` tag. Thanks
In the demo, how are you making it wait for you to add the next statement without having to re-run it every time? Very helpful video. Thanks!
Test was not running at the time of writing test, so it wasn't real time actions on the screen. I was clicking elements one after the other myself, to show what logic I am writing in code.
I want to automate test using detox. Which editor should I use on MAC OS to write detox tests for iOS. Can I create test on windows Os?
I suggest you ask this on Stack Overflow, using the `detox` tag as above. I use Visual Studio Code, as did Viktorija in the video. Also you need a Mac, or a VM OSX on Windows, to run on iOS.
Hello Victoria.
I'm a beginner in Detox and I'm facing some doubts.
My application has fields to be filled. When I start to fill them out, my keyboard is visible and, thus, hides the next field to be filled.
Which command should I use to go to the next field or what should I do to download the keyboard and access the next field.
Hello Rodrigo.
I'm not sure about your case specifically, but in similar cases I have used "submit" button in a simulator keyboard. This minimizes keyboard and you can proceed with other actions.
@@viktorija4649 Vou tentar, obrigado
How I can try it on Android? I'm not found example for android
You can follow this setup guide to run Detox e2e on Android:
* Detox for Android | github.com/wix/Detox/blob/master/docs/Introduction.Android.md