maestro icon indicating copy to clipboard operation
maestro copied to clipboard

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

Open viengiang opened this issue 1 year ago • 3 comments

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):

  • Maestro version [e.g. 1.33.1]
  • Framework: Flutter
  • Device model and OS version: Android API level 33
  • Emulator
  • Host: Cloud

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.

viengiang avatar Oct 10 '23 17:10 viengiang

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.

fantpmas avatar Oct 12 '23 09:10 fantpmas

@fantpmas can you talk more about that?

Freire71 avatar Apr 24 '24 17:04 Freire71

@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

mskhan18 avatar Jul 03 '24 14:07 mskhan18