613 questions
0
votes
0
answers
70
views
Detox to test Bluetooth calls from Android device
I want to automate tests of Bluetooth calls from Android device (in a react native app).
I was thinking about using Detox for that.
Note that I do not want to test any UI, just the Bluetooth calls to ...
0
votes
0
answers
34
views
Detox - cannot find module android.cloud
I've added detox to a testing/QA project, via the instructions in this page https://wix.github.io/Detox/docs/introduction/project-setup
Essentially I did this in my qa project
npm install detox
npm ...
0
votes
0
answers
36
views
Detox test crashing on launch: NullPointerException java.lang.NullPointerException in NetworkIdlingResource even though no networking in app
I'm trying to run an end-to-end test using Detox on a simple React Native app that doesn't have any network calls yet. However, the app crashes at launch during the Detox test with the following error:...
0
votes
1
answer
383
views
Detox upgrade to React Native 0.79 from 0.77 - an error occurred while waiting for the app to become ready
I've been trying to resolve the following problem for quite some time now:
I started implementing the tests with Detox when our app was on RN 0.77, and everything was working fine.
However, after ...
1
vote
0
answers
62
views
Incorrect enabled prop from getAttributes() for disabled elements (custom buttons)
What happened?
I am encountering an issue with getAttributes() where the enabled property of an element is being returned incorrectly. I have confirmed that this occurs on both Android and iOS. Using ...
0
votes
1
answer
111
views
Detox: Handling iOS OS dialogs after test fail
I'm working on adding OS dialog handling to iOS e2e tests with Detox. There is however an issue where an OS permission dialog sometimes stays open after a test fails, which in turn causes any ...
0
votes
1
answer
172
views
Why is detox build and tests running on Xcode 16 slower
Why are iOS Detox build times and iOS Detox test run times after updating Xcode 16 slower?
Here’s my setup on CircleCI with the same test cases:
Xcode: 15.3.0
Detox: 20.23.0
iOS Version: 17.4 (iPhone ...
1
vote
0
answers
37
views
How does the Detox automation interact with elements?
it('should navigate user to a location screen when user clicks the Location button on navigation bar (C23938)', async () => {
await waitFor(LoginScreen.logInButton).toBeVisible()....
0
votes
1
answer
82
views
Detox : Check Toast is called
I am using Toast from 'react-native-toast-message' in a react native application using Expo with type 'error' or 'success'
Toast.show({
type: 'error',
text1: 'An error occurred')
});
How can I ...
1
vote
1
answer
53
views
React Native Detox: Accept Bluetooth Permissions
I am working on a test suite for a react native app that requires bluetooth permissions to work. I know this is common for apps like ours but, for some reason, there is not a bluetooth option for ...
0
votes
1
answer
108
views
Detox can't find ActivityIndicator by testID in React Native
I'm running Detox tests for a React Native screen, and I'm encountering an issue where Detox can't seem to access the ActivityIndicator component by its testID. The ActivityIndicator is displayed ...
0
votes
1
answer
94
views
DetoxRuntimeError: There was no "adb" executable file in directory
Working with react native application, facing Detox Runtime Error while running test on android emulator.
I have configured android on my machine (macbook) and able to run the application on emulator. ...
1
vote
1
answer
199
views
How to test react-native-auth0 library with detox?
I can't find a way anywhere that explains how to properly mock auth0 requests in React Native.
Several questions made on detox GitHub says that its not their responsibility to explain how to mock ...
0
votes
2
answers
776
views
Detox iOS - How to wait for a web view element to exist or be visible?
I'm testing an app using detox that renders a web view but it can't click a button that appears after clicking a link.
My flow is like so:
Click on a link on the web view
const myWebView = web(by.id(&...
1
vote
0
answers
549
views
Detox iOS Visibility Issues
This line works when run against Android, but fails against iOS with the error below. How can I identify the problem?
Using Debug View Hierarchy in XCode it looks like there are several layers on top ...