Skip to content

[Android] Issue with Immersive mode image failing tests #129

@WMichael

Description

@WMichael

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions