mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.43k stars 250 forks source link

[v1.33.1] The app gets stuck on the welcome screen when running the test on Maestro Cloud. #1519

Open viengiang opened 9 months ago

viengiang commented 9 months ago

Describe the bug Hi team, Maestro is fantastic, and I'm currently working on a demo. However, I've encountered an issue. The test works perfectly when run locally, but it gets stuck on the welcome screen when executed in Maestro Cloud.

To Reproduce Steps to reproduce the behavior, e.g.:

  1. Run the login flow on the Maestro Cloud

Expected behavior The app should start correctly and redirect to the login page.

Screenshots image

Environment information (please complete the following information):

Workspace (if applicable) workspace.zip app

Bugreport output (if applicable) The zip files created when maestro bugreport can be uploaded here as well if applicable.

Additional context Add any other context about the problem here.

fantpmas commented 9 months ago

We had this same issue intermittently (on Android emulators only) and found out that removing clearState: true solved it.

We now use an in-app method to reset the app.

Freire71 commented 2 months ago

@fantpmas can you talk more about that?

mskhan18 commented 2 weeks ago

@fantpmas I am stuck in same issue but only for ios when run in githubAction flows and its been almost one week I couldn't find any potential solution. Thats why I ended up here. Your help would be highly appreciated.

Using Flutter 3.19.6 maestro: 1.36.0