FormidableLabs / FormidableLabs/react-native-owl

[Android] Issue with Immersive mode image failing tests

Abierto
#129 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
694
Forks
27
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con la configuración de las pruebas de regresión visual de Android y la invocación del pipeline descritas en el issue; después, reproduce localmente y en CI el aviso de immersive-mode. Investiga el comando de adb existente para cerrar el aviso y el momento en que se toman las capturas de pantalla. Se considera terminado cuando el aviso se cierra de forma fiable en el pipeline y las capturas de pantalla ya no incluyen los botones de navegación ni la barra de estado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
android, react-native, typescript
Área
mobile-dev, testing-qa
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.