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 working on a React Native app in which we have Detox testing that recently was working correctly. Recently we added Firebase In-App Messaging and it started breaking the tests because the firebase messages visually blocks the app screens making Detox testing not able to tap or verify any component. We have already tried using await inAppMessaging().setMessagesDisplaySuppressed(true); but doesn't work at all to suppress this messages as per documentation [https://rnfirebase.io/in-app-messaging/usage]. Using the workaround of just making Detox tap 'ok' in firebase message doesn't solve the issues because you can't know when exactly the message will show up, plus is not a solid solution if the main purpose of our testing is not to check Firebase In-App messages, we should just suppress it.
Questions:
Has anyone ran Detox successfully with Firebase In-App Messages and if so how did you made it work?
Could the inAppMessaging().setMessagesDisplaySuppressed(true) not working because of the many reloads Detox before starting each suite test?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem:
I'm working on a React Native app in which we have Detox testing that recently was working correctly. Recently we added Firebase In-App Messaging and it started breaking the tests because the firebase messages visually blocks the app screens making Detox testing not able to tap or verify any component. We have already tried using
await inAppMessaging().setMessagesDisplaySuppressed(true);
but doesn't work at all to suppress this messages as per documentation [https://rnfirebase.io/in-app-messaging/usage]. Using the workaround of just making Detox tap 'ok' in firebase message doesn't solve the issues because you can't know when exactly the message will show up, plus is not a solid solution if the main purpose of our testing is not to check Firebase In-App messages, we should just suppress it.Questions:
inAppMessaging().setMessagesDisplaySuppressed(true)
not working because of the many reloads Detox before starting each suite test?Beta Was this translation helpful? Give feedback.
All reactions