-
Notifications
You must be signed in to change notification settings - Fork 150
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
Automation test only not executing in iOS devices #1584
Comments
Hi @lravihs. It looks like you haven't disabled parallel execution in Xcode. Here's how to do it: https://www.youtube.com/watch?v=9LdEJR59fW4 |
@jBorkowska I have disabled parallel execution in Xcode as well as completed all the setup mentioned in the patrol website. This is not an issue here |
Possibly related to #1555 |
@jBorkowska It's kinda related issue but however he is getting atleast "Test is Starting" screen but I am not even getting that. When I run it will just clone the simulator once and installs the build and will open it without "Test is Starting" screen. but with the same code it works fine for android. |
@jBorkowska do you have any fix for this? |
@lravihs unfortunately no, we didn't have any luck in reproducing it. If you could provide some minimal example project, where I could reproduce this issue, then it would be great |
@jBorkowska and @bartekpacia sorry for the late reply, my development team has started working on creating sample project. Once it got completed will revert back here. Thanks |
@jBorkowska @bartekpacia I have sent you the sample project to your email address - |
Hi @lravihs, this is an open-source project, and in the spirit of openess, we provide support only on GitHub. This way other Patrol users can see what problems others are encountering and help each other. If you're interested in private support over email, just let us know and we'll be happy to discuss the details (you can email me at the same address as before). |
Hi Bartek Pacia,
Please clone the repository for the sample project.
https://github.com/lravihs/Sample_Project.git
Thanks & Regards,
Lalith Kishore Ravi
…On Sat, Aug 12, 2023 at 1:37 AM Bartek Pacia ***@***.***> wrote:
Hi @lravihs <https://github.com/lravihs>, this is an open-source project,
and in the spirit of openess, we provide support only on GitHub. This way
other Patrol users can see what problems others are encountering and help
each other.
If you're interested in private support over email, just let us know and
we'll be happy to discuss the details (you can email me at the same address
as before).
—
Reply to this email directly, view it on GitHub
<#1584 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7YN7S4WM3PR23YHIQT6MBLXU2GJRANCNFSM6AAAAAA2YQLSG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
**** Hoffensoft ****
This e-mail and any files transmitted with it are for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. If you are not the intended recipient(s), please
reply to the sender and destroy all copies of the original message. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing
or copying of this email, and/or any action taken in reliance on the
contents of this e-mail is strictly prohibited and may be unlawful. Where
permitted by applicable law, this e-mail and other e-mail communications
sent to and from Hoffensoft e-mail addresses may be monitored.
|
I checked your project and you don't have the |
I have done all the setup using the documentation mentioned in the patrol
website in another machine as my machine had some fault. I request you to
do the setup and to execute it.
…On Mon, Aug 14, 2023 at 4:52 PM Bartek Pacia ***@***.***> wrote:
I checked your project and you don't have the RunnerUITests target in the
Xcode project, so there's no chance it could work. Did you really go
through the set up documentation?
—
Reply to this email directly, view it on GitHub
<#1584 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7YN7S3CN4B2SAXRMRMOJELXVIDAPANCNFSM6AAAAAA2YQLSG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
**** Hoffensoft ****
This e-mail and any files transmitted with it are for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. If you are not the intended recipient(s), please
reply to the sender and destroy all copies of the original message. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing
or copying of this email, and/or any action taken in reliance on the
contents of this e-mail is strictly prohibited and may be unlawful. Where
permitted by applicable law, this e-mail and other e-mail communications
sent to and from Hoffensoft e-mail addresses may be monitored.
|
You didn't. There's no |
@bartekpacia @jBorkowska Can you please check now. I have uploaded the project with full setup.
Please check it.
…On Mon, Aug 14, 2023 at 5:11 PM Bartek Pacia ***@***.***> wrote:
I have done all the setup using the documentation mentioned
You didn't. There's no RunnerUITests target in your Xcode project, as
described here
<https://patrol.leancode.co/getting-started/native#integrate-with-native-side>
.
—
Reply to this email directly, view it on GitHub
<#1584 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7YN7S7NEU3YSXCVN5ULIA3XVIFFZANCNFSM6AAAAAA2YQLSG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
**** Hoffensoft ****
This e-mail and any files transmitted with it are for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. If you are not the intended recipient(s), please
reply to the sender and destroy all copies of the original message. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing
or copying of this email, and/or any action taken in reliance on the
contents of this e-mail is strictly prohibited and may be unlawful. Where
permitted by applicable law, this e-mail and other e-mail communications
sent to and from Hoffensoft e-mail addresses may be monitored.
|
I followed all the documentation and I'm having a problem with the native integration of IOs, it seems similar to the error above |
@bartekpacia @jBorkowska Is there any update regarding the build.?. Please ping here in case of any issues in the build |
@bartekpacia @jBorkowska Is there any update regarding this issue? |
I think every problem is due to the flavors, I made a POC without flavor and it worked. I'm using flutter_flavorizr lib |
@develogo can you please help me with your repository? So that I can check it |
https://github.com/develogo/flutter_patrol @bartekpacia @jBorkowska I created a project with flavor and another one without flavor. Without flavor it works perfectly, with flavor it stagnates. |
@bartekpacia @jBorkowska is there any update regarding this issue.? |
I have a similar issue. My flavor is 'Debug-Development' and Build looks fine but test is something wrong.
|
I get the same error when running the following command on my physical device: patrol test -t integration_test/example_test.dart --device 00008020-001E34CE0CBA002E --release When I try to run it on the iPhone 14 Pro Max simulator I don't see that error, I just got stuck on step:
I also noticed that my "host" app appears instead of the pumped widget (specified in example_test.dart): MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('app')),
backgroundColor: Colors.blue,
),
), |
To reiterate: I understand that the original cause of the issue is that @lravihs didn't create the @lravihs - from this comment I understand that you fixed this mistake and followed the iOS native setup guide, thus adding the I also understand that after completing these steps, you're getting a different error. Is that correct? If so, does the linked repo contain the fully reproducible example of that new error? Also, please post that error. To all others, "me too" messages don't really help, they just clutter the converstaion. Please just give a "👍" to express interest. |
@bartekpacia After doing all the native automation setup we are getting the same issue and the linked repo also reproducing the same issue. Issue Note : Test starting screen is not displaying despite of this the build is getting generated |
@bartekpacia May I get any resolution or reply for this? |
was stuck in the same place, because I was running a server on port 8081, which from the logs I see patrol tried to use it as well, after killing it tests started successfully |
@bartekpacia @jBorkowska Is there any solution for this? |
@bartekpacia Can you please check the difference between Android and iOS during execution in our Application. for iOS : Third point is : Running app with entrypoint test_bundle.dart for iOS simulator on simulator iPhone 14 Pro... for Android : Third Point is : Executing tests of apk with entrypoint test_bundle.dart on emulator-5554... Why it is running the app instead of executing the tests.? Are you able to find any clue in it.? |
Any resolution ? @bartekpacia @jBorkowska |
What versions of patrol and patrol_cli are using right now, @lravihs? |
The latest versions only I am working on
…On Thu, Oct 12, 2023, 7:30 PM Bartek Pacia ***@***.***> wrote:
What versions of patrol and patrol_cli are using right now, @lravihs
<https://github.com/lravihs>?
—
Reply to this email directly, view it on GitHub
<#1584 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7YN7SZB5KTEFSGKNLR2CV3X67ZZFAVCNFSM6AAAAAA2YQLSG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJZGY3TAMZRGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
**** Hoffensoft ****
This e-mail and any files transmitted with it are for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. If you are not the intended recipient(s), please
reply to the sender and destroy all copies of the original message. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing
or copying of this email, and/or any action taken in reliance on the
contents of this e-mail is strictly prohibited and may be unlawful. Where
permitted by applicable law, this e-mail and other e-mail communications
sent to and from Hoffensoft e-mail addresses may be monitored.
|
This issue has been spammed with a few other issues to the point I don't think it's useful keeping it open. Nevertheless, we see it's a real problem you're facing - sorry about that. See #1745 for continuation. |
Steps to reproduce
Actual results
Logs
Details
Patrol version
patrol: ^2.1.0
Patrol Doctor output
Flutter Doctor output
The text was updated successfully, but these errors were encountered: