You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue with selecting images from the system gallery during my Detox tests. I understand that Detox may have limitations interacting with system components, but I've managed to at least perform specific clicks within the app. Unfortunately, I'm still unable to choose images as needed for testing. Are there any known workarounds, such as using the camera to take a picture of a black image or something similar? If not, is it feasible to mock this functionality, and if so, how could this be implemented? Any guidance or suggestions would be greatly appreciated.
Here's the specific code snippet I'm working with:
This code is valid and it clicks on a specific part of the screen where the image is located, but the image does not get selected. Solving this issue is crucial for my testing, so any help would be greatly appreciated.
Hey @nemanjaNakomcic, interacting with system components is indeed a limitation that we're currently working to resolve, see: #4464
I'll add this functionality to the epic's list.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this repository, read this discussion.
Description
Hello,
I'm encountering an issue with selecting images from the system gallery during my Detox tests. I understand that Detox may have limitations interacting with system components, but I've managed to at least perform specific clicks within the app. Unfortunately, I'm still unable to choose images as needed for testing. Are there any known workarounds, such as using the camera to take a picture of a black image or something similar? If not, is it feasible to mock this functionality, and if so, how could this be implemented? Any guidance or suggestions would be greatly appreciated.
Here's the specific code snippet I'm working with:
This code is valid and it clicks on a specific part of the screen where the image is located, but the image does not get selected. Solving this issue is crucial for my testing, so any help would be greatly appreciated.
Your environment
Detox version: 20.20.3
React Native version: 0.73.6
Node version: v18.20.2
Device model: iPhone 15 Pro
OS: 17.4
Test-runner (select one): jest
The text was updated successfully, but these errors were encountered: