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
When running the visual regression tests for Android locally and on the pipeline the app loads into immersive mode and shows the following message.
This is fine locally as I can just click on Got it and it won't show on any subsequent test runs but on the pipeline this isn't possible.
We have found a way of dismissing this message locally by running this adb command before taking the screenshot exec('adb shell input text "mock\\ text"');
But when trying this on the pipeline, the latest screenshot shows the navigational buttons and top status bar as so.
Is there a more effective way of dismissing that Android message?
The text was updated successfully, but these errors were encountered:
Hi @WMichael – thanks for reaching out! Are you at liberty to share some more details about what your CI pipeline setup looks like? We have some documentation on running Android in GitHub Actions – I'm curious how close your setup is to that outlined in the docs.
This is standard behavior on Android devices the first time one runs an application in immersive mode.
I got around this by running the following after starting the emulator but before starting tests. Ideally, react-native-owl should handle this, but I have no idea where one would add the code.
adb shell settings put secure immersive_mode_confirmations confirmed
Hello 👋
When running the visual regression tests for Android locally and on the pipeline the app loads into immersive mode and shows the following message.
This is fine locally as I can just click on
Got it
and it won't show on any subsequent test runs but on the pipeline this isn't possible.We have found a way of dismissing this message locally by running this adb command before taking the screenshot
exec('adb shell input text "mock\\ text"');
But when trying this on the pipeline, the latest screenshot shows the navigational buttons and top status bar as so.
Is there a more effective way of dismissing that Android message?
The text was updated successfully, but these errors were encountered: