Skip to content

Error: launchApp: timed out waiting for "com.***.android.***" to be in foreground #212

Description

@shaikafsar

Mobilewright version

0.0.39

Operating system

Mac OS

Target platform

Android

Device or simulator

Android Real Device - Google Pixel 10

Minimal reproduction

After upgrading to MobileWright version 0.0.39, I am encountering the following issues:

Visual Studio Code Execution Issue

Error observed while launching the application:

Error: launchApp: timed out waiting for "com..android." to be in foreground
The application launch is timing out, preventing test execution from proceeding.
Android Real Device Issue (Pixel 10)

When attempting to launch the application on a real device (Pixel 10), the following message is displayed:

No apps can perform this action.
As a result, the application cannot be launched successfully on the device.

These issues started occurring immediately after upgrading to MobileWright version 0.0.39. Please investigate and advise on the resolution.

Actual behavior

After upgrading to MobileWright version 0.0.39, I am encountering the following issues:

Visual Studio Code Execution Issue

Error observed while launching the application:

Error: launchApp: timed out waiting for "com.sei.android.uat" to be in foreground
The application launch is timing out, preventing test execution from proceeding.
Android Real Device Issue (Pixel 10)

When attempting to launch the application on a real device (Pixel 10), the following message is displayed:

No apps can perform this action.
As a result, the application cannot be launched successfully on the device.

These issues started occurring immediately after upgrading to MobileWright version 0.0.39. Please investigate and advise on the resolution.

Expected behavior

App should be Launched successfully , below is my sample code.

const appId = 'com.***.android.qa';
await device.launchApp(appId) ;

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions