FormidableLabs / FormidableLabs/react-native-owl
[Android] Issue with Immersive mode image failing tests
- Vorherrschende Sprache
- TypeScript
- Sterne
- 694
- Forks
- 27
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
Beginne mit dem im Issue beschriebenen Setup für visuelle Regressionstests unter Android und dem Aufruf der Pipeline und reproduziere anschließend die Eingabeaufforderung im immersive-mode lokal und in CI. Untersuche den vorhandenen adb-Befehl zum Schließen der Eingabeaufforderung und das Timing der Screenshots. Als erledigt gilt die Aufgabe, wenn die Eingabeaufforderung in der Pipeline zuverlässig geschlossen wird und die Screenshots keine Navigationsschaltflächen oder Statusleiste mehr enthalten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, react-native, typescript
- Bereich
- mobile-dev, testing-qa
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100