FormidableLabs / FormidableLabs/react-native-owl

[Android] Issue with Immersive mode image failing tests

Open
#129 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
694
Forks
27
PR merge metrics
No merged PRs in 30d

Description

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.
![immersivemode](https://user-images.githubusercontent.com/1976189/199205015-0376267f-7427-4953-af18-b3a711775518.png)

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.
![Screenshot 2022-11-01 at 09 48 00](https://user-images.githubusercontent.com/1976189/199206413-0c286597-90ba-43e8-b995-59bfc00f1159.png)

Is there a more effective way of dismissing that Android message?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.