Questions tagged [detox]

Gray box end-to-end testing and automation framework for mobile apps

From GitHub page:

High velocity native mobile development requires us to adopt continuous integration workflows, which means our reliance on manual QA has to drop significantly. Detox tests your mobile app while it's running in a real device/simulator, interacting with it just like a real user.

The most difficult part of automated testing on mobile is the tip of the testing pyramid - E2E. The core problem with E2E tests is flakiness - tests are usually not deterministic. We believe the only way to tackle flakiness head on is by moving from black box testing to gray box testing. That's where Detox comes into play.

Cross Platform: Write cross-platform tests in JavaScript. Currently supports iOS and Android.

Runs on Devices (not yet supported on iOS): Gain confidence to ship by testing your app on a device/simulator just like a real user.

Automatically Synchronized: Stops flakiness at the core by monitoring asynchronous operations in your app.

Made For CI: Execute your E2E tests on CI platforms like Travis without grief.

Test Runner Independent: Use Mocha, AVA, or any other JavaScript test runner you like.

Debuggable: Modern async-await API allows breakpoints in asynchronous tests to work as expected.

See the GitHub page for more information.

533 questions
0
votes
1 answer

Detox tests are not finishing

I've set up detox for E2E testing and Bitrise for continuous integration. I have set up a very simple initial test suite but for some reason, my tests do not finish after they have completed. init.js require('babel-polyfill'); const detox =…
Dan
  • 4,211
  • 4
  • 29
  • 55
-1
votes
1 answer

Is it possible to install Detox for testing on Ubuntu?

I've try to find a step by step setup information to do testing with detox on ubuntu, but I've only found it for mac, and some websites says that it's necessary a mac environment.
-1
votes
1 answer

Run Detox tests on ios physical device?

I am currently working on a react native project using Detox for e2e tests. I can run tests on my android device changing detox configuration "android-device": { binaryPath: "android/app/build/outputs/apk/release/app-release.apk", build:…
Fazli Zekiqi
  • 360
  • 5
  • 11
-1
votes
1 answer

Detox - Record a single video from beginning to the end

Our team is using RN Detox which helps a lot our testing team. I'm not sure this is currently possible, but in our workflow we would like to have a second check by someone watching the video recorded during the tests (to check the design / the…
-1
votes
1 answer

Detox. Click on IOS native system pop-up doesn't work

This is the confirmation alert pop-up I got after login into the application via google sso. Native pop-up screenshot And i've got the issue with clicking on 'Continue' button in this pop-up. I saw a few discussions already about this kind of…
-1
votes
1 answer

Cannot read property 'type' of undefined while running detox test command

I am trying to run the detox test using the package.json confugation detox test --configuration -l verbose android.emu.release got this error (config.configurations[program.configuration].type).split('.')[0]; ^ TypeError: Cannot read property…
abdul
  • 225
  • 3
  • 13
-2
votes
0 answers

best way to test native modules - react native app

I have a react-native app that uses 'Native Modules' to access the data from Health app (ios) and google fit (android). App works perfectly and i can get the expected data from the native apps. Now i need to test the Native Module functionality.…
grooot
  • 333
  • 2
  • 17
-3
votes
1 answer

How to select images for iOS device library using DETOX?

How to select images for iOS device library using DETOX ?
1 2 3
35
36