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
We're developing Expo Go bare workflow project. Simple e2e test works, but if the screen involves firebase snapshot listener, detox thinks the app isn't ready with the following message so that the test timeouts.
15:03:04.350 detox[51421] i ws-client:APP_STATUS The app is busy with the following tasks:
• 1 network requests with URLs:
- URL #1: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?gsessionid=.....
It also happens with ios.
We're using firebase@9.2.0 with the following code:
This is not from the Detox Template project (expo go and prebuild), but I think I successfully setup Detox because the commit a44a5cdd57fb611d8e863c7cb4de949e722b6957 has a passing Detox test.
Android detox build
npm run pre-e2e-android
Android detox run
npm run e2e-android
Ios detox build:
npm run pre-e2e-ios
Ios detox run:
npm run e2e-ios
In what environment did this happen?
Detox version: 20.7.0
React Native version: 0.70.8
Has Fabric (React Native's new rendering system) enabled: (yes/no) I don't think so
Node version: 16.19.1
Device model: Pixel4 Emulator with API 31
Android version: API 31
Test-runner (select one): jest 29.5.0
Detox logs
Sorry it seems like the detox log was too long to paste.
Device logs
Sorry it seems like the device log was too long to paste.
More data, please!
No response
The text was updated successfully, but these errors were encountered:
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.
What happened?
We're developing Expo Go bare workflow project. Simple e2e test works, but if the screen involves firebase snapshot listener, detox thinks the app isn't ready with the following message so that the test timeouts.
It also happens with ios.
We're using
firebase@9.2.0
with the following code:What was the expected behaviour?
I expect we can test such screens.
Presumably any other websockets or long polling requests are considered to be "busy". Does it make sense to have a whitelist for certain URLs?
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
I put the minimum repro project at:
https://github.com/tmatsuo/detox-expo-bare-firebase-repro
This is not from the Detox Template project (expo go and prebuild), but I think I successfully setup Detox because the commit a44a5cdd57fb611d8e863c7cb4de949e722b6957 has a passing Detox test.
Android detox build
Android detox run
Ios detox build:
Ios detox run:
In what environment did this happen?
Detox version: 20.7.0
React Native version: 0.70.8
Has Fabric (React Native's new rendering system) enabled: (yes/no) I don't think so
Node version: 16.19.1
Device model: Pixel4 Emulator with API 31
Android version: API 31
Test-runner (select one): jest 29.5.0
Detox logs
Sorry it seems like the detox log was too long to paste.
Device logs
Sorry it seems like the device log was too long to paste.
More data, please!
No response
The text was updated successfully, but these errors were encountered: