Currently, Detox only supports iOS/macOS and does not support tests requiring authentication for OAuth2 apps.
If enabled during generation, Detox is configured for the project. Sample tests are available for the account screens, and are generated for entity screens when you add an entity. For example:
To run the Detox tests:
npm run test:e2e
You will need to have jq
installed for this command to work.
To customize the build and test parameters (such as which device to test), modify the .detoxrc.json
file found in the root of the project.
For more information on Detox configuration and writing tests, check the official Detox documentation.