-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't interact with the emulator anymore when tests are paused/waiting v2.3.1+1 #1956
Comments
Hi @adrian-moisa, I confirm this issue happens, just checked it on my machine. Though I'm not sure if it's a valid issue, bc we never supported it explicitly 😅 It may be caused by latest changes to initialization of bindings in A question: why did you need this working? What is the use case? Maybe there is another way of solving it or we should think about such a feature in the future |
Tbh, it's highly convenient to be able to explore what the app does during the testing. What happens is that you write some steps then arrive at a state, then you have to do smth else, maybe scroll, or click on smth. A lot of trial and error. So it helps if you are able to pick up the test in the spot where it was last executed and continue manually with the next step. It's especially useful when you have to orchestrate various transitions/clicks. It can be done by having the web view running in parallel as well, but not everybody has a powerful dev machine. So it would be handy for many people to do the testing and tapping on the live emulator instance instead of running two. I'm ok as well with my mac to run 2 builds even 3 in parallel. But it still requires manual hassle, context switching and backtracking. So overall, having the ability to tap around is handy. Makes life better. It's not a deal breaker, but it was one of the nice to have, quality of life things. |
Okay, I understand your issue. Actually, you are able to do it, but not while We were discussing this use case lately, but haven't figure out how to design and implement it. I recommend checking out the workaround that I mentioned before then |
I'd consider this a bug. The cause is likely the changes made in 3.0, more specifically in this PR. In @adrian-moisa, you might want to locally modify |
@adrian-moisa Do you mean Patrol 3.0? I think the version you have in issue title is the Patrol CLI version. Could you clarify? |
This is ma current version o patrol. I thought they are in lock step, patrol and cli. patrol: 3.0.2+1 & patrol_cli v2.3.1+1 |
Thanks for bringing this issue to our attention @adrian-moisa. I implemented the fix in #2008 and it'll be released as |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Steps to reproduce
Run the emulator and start patrol develop on a test that has a delay. In older versions I was able to tap around, scroll views. I'm using
await Future.delayed(Duration(minutes: 5));
to hold the test waiting.Actual results
Logs
Logs
Patrol version
patrol_cli v2.3.1+1
Patrol Doctor output
Patrol Doctor output
Flutter Doctor output
Flutter Doctor output
The text was updated successfully, but these errors were encountered: