Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detox cannot interact with system dialogs #4275

Closed
2 tasks done
urbanclap-admin opened this issue Nov 8, 2023 · 6 comments
Closed
2 tasks done

Detox cannot interact with system dialogs #4275

urbanclap-admin opened this issue Nov 8, 2023 · 6 comments

Comments

@urbanclap-admin
Copy link

What happened?

We have a google phone number hint dialog that automatically invokes when tapping on the login field, and we cannot dismiss the dialog via detox as it cannot find the view.

This causes the text to fail unless we manually dismiss the dialog.

Is there any workaround for this?

What was the expected behaviour?

The google phone number dialog should dismiss when tapped on the dismiss button

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 20.13.5
React Native version: 0.67
Has Fabric (React Native's new rendering system) enabled: No
Node version: v21
Device model: Any android device
Android version: any android version
Test-runner (select one): jest

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

@urbanclap-admin
Copy link
Author

@noomorph any workaround for this?

@aaronpliu
Copy link

not supported! it's mentioned on v21 RC3. Would see #3208 Next Phrase

Copy link

stale bot commented Dec 15, 2023

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.

@stale stale bot added the 🏚 stale label Dec 15, 2023
@aaronpliu
Copy link

you would find simulator I/O - keyboard to chose "Connect Hardware Keyboard" or not. If you want to use soft keyboard or just wanna input by text, you are able to setup I/O on simulator.
For really system dialog interaction, it was not supported in current Detox release version. I just saw it in Detox v21 RC3 (with XCUITest).
For iOS real device, hopefully Detox can support it a.s.a.p

@stale stale bot removed the 🏚 stale label Dec 28, 2023
Copy link

stale bot commented Mar 17, 2024

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.

@asafkorem
Copy link
Contributor

Support released with Detox v20.22 (System API)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants